CameraPhotoState

@objc(GSCameraPhotoState)
public protocol CameraPhotoState

State of the camera photo function.

  • Current camera photo function state.

    Declaration

    Swift

    var functionState: CameraPhotoFunctionState { get }
  • Number of photo taken in the session (useful for burst and hyperlapse), valid when functionState is takingPhotos.

    Declaration

    Swift

    var photoCount: Int { get }
  • Identifier of the latest saved photo media. Available when functionState ready and when some photo were taken beforehand during the same connected session with the drone.

    Declaration

    Swift

    var mediaId: String? { get }