CaptureSourceError

@objc
public enum CaptureSourceError : Int

CaptureSourceError describes an error resulting from a capture source failure. These can be used to trigger UI, or attempt to restart the capture source.

  • Unknown error, and catch-all for errors not otherwise covered.

    Declaration

    Swift

    case unknown = 0
  • A failure observed from a system API used for capturing.

    Declaration

    Swift

    case systemFailure = 1
  • A failure observed during configuration.

    Declaration

    Swift

    case configurationFailure = 2
  • A temporary failure observed when capture source generates an invalid frame which is ignored.

    Declaration

    Swift

    case invalidFrame = 3
  • Declaration

    Swift

    public var description: String { get }