ricohapi / theta-api-specs

THETA API Specifications
28 stars 8 forks source link

Broadcast Intent ACTION_MOTION_SENSOR_START/STOP #18

Closed DaisukeHohjoh closed 1 year ago

DaisukeHohjoh commented 1 year ago

There is no description in theta-api-specs, about Broadcast Intent ACTION_MOTION_SENSOR_START/STOP.

https://github.com/ricohapi/theta-plugin-library/blob/master/library/src/main/java/com/theta360/pluginlibrary/activity/PluginActivity.java#L499-L511

    /**
     * Start camera attitude control sensor
     */
    public void notificationSensorStart() {
        sendBroadcast(new Intent(Constants.ACTION_MOTION_SENSOR_START));
    }

    /**
     * Stop the camera attitude control sensor
     */
    public void notificationSensorStop() {
        sendBroadcast(new Intent(Constants.ACTION_MOTION_SENSOR_STOP));
    }