ThetaState

data class ThetaState(val fingerprint: String, val batteryLevel: Float, val storageUri: String?, val storageID: String?, val captureStatus: ThetaRepository.CaptureStatusEnum, val recordedTime: Int, val recordableTime: Int, val capturedPictures: Int?, val compositeShootingElapsedTime: Int?, val latestFileUrl: String, val chargingState: ThetaRepository.ChargingStateEnum, val apiVersion: Int, val isPluginRunning: Boolean?, val isPluginWebServer: Boolean?, val function: ThetaRepository.ShootingFunctionEnum?, val isMySettingChanged: Boolean?, val currentMicrophone: ThetaRepository.MicrophoneOptionEnum?, val isSdCard: Boolean, val cameraError: List<ThetaRepository.CameraErrorEnum>?, val isBatteryInsert: Boolean?)

Mutable values representing Theta status.

Constructors

Link copied to clipboard
constructor(response: StateApiResponse)
constructor(fingerprint: String, batteryLevel: Float, storageUri: String?, storageID: String?, captureStatus: ThetaRepository.CaptureStatusEnum, recordedTime: Int, recordableTime: Int, capturedPictures: Int?, compositeShootingElapsedTime: Int?, latestFileUrl: String, chargingState: ThetaRepository.ChargingStateEnum, apiVersion: Int, isPluginRunning: Boolean?, isPluginWebServer: Boolean?, function: ThetaRepository.ShootingFunctionEnum?, isMySettingChanged: Boolean?, currentMicrophone: ThetaRepository.MicrophoneOptionEnum?, isSdCard: Boolean, cameraError: List<ThetaRepository.CameraErrorEnum>?, isBatteryInsert: Boolean?)

Properties

Link copied to clipboard

API version currently set (1: v2.0, 2: v2.1)

Link copied to clipboard

Battery level between 0.0 and 1.0

Link copied to clipboard

Error information of the camera

Link copied to clipboard

Number of still images captured during continuous shooting, Unit: images

Link copied to clipboard

Continuously shoots state

Link copied to clipboard
Link copied to clipboard

Elapsed time for interval composite shooting (sec)

Link copied to clipboard

Identifies the microphone used while recording video

Link copied to clipboard

Fingerprint (unique identifier) of the current camera state

Link copied to clipboard

Shooting function status

Link copied to clipboard

true: Battery inserted; false: Battery not inserted

Link copied to clipboard

My setting changed state

Link copied to clipboard

Plugin running state (true: running, false: stop)

Link copied to clipboard

Plugin web server state (true: enabled, false: disabled)

Link copied to clipboard

True if record to SD card

Link copied to clipboard

URL of the last saved file

Link copied to clipboard

Recordable time of movie (seconds)

Link copied to clipboard

Recorded time of movie (seconds)

Link copied to clipboard

Storage ID

Link copied to clipboard

Storage URI