Protocols
The following protocols are available globally.
-
NextLevel delegate, provides updates for authorization, configuration changes, session state, preview state, and mode changes.
See moreDeclaration
Swift
public protocol NextLevelDelegate : AnyObject
-
Preview delegate, provides update for
See moreDeclaration
Swift
public protocol NextLevelPreviewDelegate : AnyObject
-
Device delegate, provides updates on device position, orientation, clean aperture, focus, exposure, and white balances changes.
See moreDeclaration
Swift
public protocol NextLevelDeviceDelegate : AnyObject
-
Flash and torch delegate, provides updates on active flash and torch related changes.
See moreDeclaration
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 moreDeclaration
Swift
public protocol NextLevelVideoDelegate : AnyObject
-
Photo delegate, provides updates on photo related capture functionality.
See moreDeclaration
Swift
public protocol NextLevelPhotoDelegate : AnyObject
-
Depth data delegate, provides depth data updates
-
Portrait Effects Matte delegate, provides portrait effects matte updates
See moreDeclaration
Swift
public protocol NextLevelPortraitEffectsMatteDelegate : AnyObject
-
Metadata Output delegate, provides objects like faces and barcodes
See moreDeclaration
Swift
public protocol NextLevelMetadataOutputObjectsDelegate : AnyObject