Protocols

The following protocols are available globally.

  • NextLevel delegate, provides updates for authorization, configuration changes, session state, preview state, and mode changes.

    See more

    Declaration

    Swift

    public protocol NextLevelDelegate : AnyObject
  • Preview delegate, provides update for

    See more

    Declaration

    Swift

    public protocol NextLevelPreviewDelegate : AnyObject
  • Device delegate, provides updates on device position, orientation, clean aperture, focus, exposure, and white balances changes.

    See more

    Declaration

    Swift

    public protocol NextLevelDeviceDelegate : AnyObject
  • Flash and torch delegate, provides updates on active flash and torch related changes.

    See more

    Declaration

    Swift

    public protocol NextLevelFlashAndTorchDelegate : AnyObject
  • Video delegate, provides updates on video related recording and capture functionality. All methods are called on the main queue with the exception of nextLevel:renderToCustomContextWithSampleBuffer:onQueue.

    See more

    Declaration

    Swift

    public protocol NextLevelVideoDelegate : AnyObject
  • Photo delegate, provides updates on photo related capture functionality.

    See more

    Declaration

    Swift

    public protocol NextLevelPhotoDelegate : AnyObject