CameraState

data class CameraState(val batteryLevel: Double, val storageUri: String? = null, val _storageID: String? = null, val _captureStatus: CaptureStatus, val _recordedTime: Int, val _recordableTime: Int, val _capturedPictures: Int? = null, val _compositeShootingElapsedTime: Int? = null, val _latestFileUrl: String? = null, val _batteryState: ChargingState, val _apiVersion: Int, val _pluginRunning: Boolean? = null, val _pluginWebServer: Boolean? = null, val _function: ShootingFunction? = null, val _mySettingChanged: Boolean? = null, val _currentMicrophone: MicrophoneOption? = null, val _currentStorage: StorageOption? = null, val _cameraError: List<CameraError>? = null, val _batteryInsert: Boolean? = null)

camera state information

Constructors

Link copied to clipboard
constructor(batteryLevel: Double, storageUri: String? = null, _storageID: String? = null, _captureStatus: CaptureStatus, _recordedTime: Int, _recordableTime: Int, _capturedPictures: Int? = null, _compositeShootingElapsedTime: Int? = null, _latestFileUrl: String? = null, _batteryState: ChargingState, _apiVersion: Int, _pluginRunning: Boolean? = null, _pluginWebServer: Boolean? = null, _function: ShootingFunction? = null, _mySettingChanged: Boolean? = null, _currentMicrophone: MicrophoneOption? = null, _currentStorage: StorageOption? = null, _cameraError: List<CameraError>? = null, _batteryInsert: Boolean? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard
val _batteryInsert: Boolean? = null

true: Battery inserted; false: Battery not inserted. If "_batteryInsert" is true, video recording via the WebAPI is restricted. Video recording at 4K 60fps, 5.7K 10fps, 5.7K 15fps, 5.7K 30fps, or 8K 10fps is not possible with the WebAPI. When the battery level is at the specified value or less, video recording at 4K 30fps is not possible with the WebAPI.

Link copied to clipboard

Charging state

Link copied to clipboard

information of the camera

Link copied to clipboard
val _capturedPictures: Int? = null

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

Link copied to clipboard

Continuously shoots state

Link copied to clipboard

Elapsed time for interval composite shooting (sec)

Link copied to clipboard

String Identifies the microphone used while recording video when _microphone option

Link copied to clipboard

Used to identify IN/SD at the app

Link copied to clipboard

Shooting function status

Link copied to clipboard
val _latestFileUrl: String? = null

URL of the last saved file V, Z1: http://IP address/files/eMMC ID/Directory name/[File name X: http://IP address/files/Directory name/[File name DNG format files are not displayed. For burst shooting, files in the DNG format are displayed.

Link copied to clipboard

My setting changed state true: Shooting function status is “mySetting" and some my setting properties are changed

Link copied to clipboard
val _pluginRunning: Boolean? = null

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

Link copied to clipboard

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

Link copied to clipboard

Remaining time of movie (sec)

Link copied to clipboard

Shooting time of movie (sec)

Link copied to clipboard
val _storageID: String? = null

Storage ID

Link copied to clipboard

Battery level (0.0 to 1.0), When using an external power source, 1 (100%)

Link copied to clipboard
val storageUri: String? = null

Storage URI V, Z1:0 http://IP address/files/eMMC ID X: http://IP address/files/