CameraRecordingFunctionState
@objc(GSCameraRecordingFunctionState)
public enum CameraRecordingFunctionState : Int, CustomStringConvertible
Camera recording function state.
-
Camera video record function is inoperable at present. When entering this state latest saved media id and startTime are reset to nil.
Declaration
Swift
case unavailable
-
Video record is stopped and ready to be started.
Declaration
Swift
case stopped
-
Video record is starting. This state is entered from
stopped
after a call tostartRecording()
.Declaration
Swift
case starting
-
Camera is currently recording a video.
Declaration
Swift
case started
-
Video record is stopping.
Declaration
Swift
case stopping
-
Video record auto stopped because of internal reconfiguration. This state is transient: state switches back to
stopped
immediately after.Declaration
Swift
case stoppedForReconfiguration
-
Video record has stopped due to insufficient storage space on the drone. This state is transient: state switches back to
stopped
immediately after.Declaration
Swift
case errorInsufficientStorageSpace
-
Video record has stopped because storage is too slow. This state is transient: state switches back to
stopped
immediately after.Declaration
Swift
case errorInsufficientStorageSpeed
-
Video record has stopped due to an internal error. Warning: this state can be temporary, and can be quickly followed by the state .stopped or .unavailable.
Declaration
Swift
case errorInternal
-
Debug description.
Declaration
Swift
public var description: String { get }