CameraStatus

public protocol CameraStatus

This protocol for camera status.

  • The battery level [percentage] of the camera device. This value is discrete. For example, the value of WG-M2 is 0, 33, 50, 66 or 100.

    Declaration

    Swift

    var batteryLevel: Int
  • The current capture of the camera device. When the camera device has never captured, this value is nil. When new capture is starting, this value is changed to new capture.

    Declaration

    Swift

    var currentCapture: Capture?