PlanetKitCameraInterruptDelegate
@objc
public protocol PlanetKitCameraInterruptDelegate
A protocol that defines methods for handling interruptions in the PlanetKit camera.
-
Called when the camera is interrupted.
Declaration
Swift
func camDidInterruptBegin(_ reason: AVCaptureSession.InterruptionReason)
Parameters
reason
The reason for the interruption.
-
Called when the interruption ends and the camera is resumed.
Declaration
Swift
func camDidInterruptEnd()