CBLCameraLiveViewTerminationReason
Objective-C
enum CBLCameraLiveViewTerminationReason : NSInteger {}
Swift
enum LiveViewTerminationReason : Int, @unchecked Sendable
Reasons the live view stream can stop.
-
The stream ended normally, due to mode switching or an explicit call to
endLiveViewStream
.Declaration
Objective-C
CBLCameraLiveViewTerminationReasonEndedNormally
Swift
case endedNormally = 0
-
The stream could not start because there is already a stream running from this camera.
Declaration
Objective-C
CBLCameraLiveViewTerminationReasonAlreadyStreaming
Swift
case alreadyStreaming = 1
-
The stream failed, due to disconnection or another failure.
Declaration
Objective-C
CBLCameraLiveViewTerminationReasonFailed
Swift
case failed = 2