GSKCameraSessionError
Objective-C
NS_ENUM(NSInteger, GSKCameraSessionError) {
GSKCameraSessionErrorOther = -1,
GSKCameraSessionErrorNotAuthorized = -2,
GSKCameraSessionErrorLockDevice = -3,
GSKCameraSessionErrorNoDevice = -4,
GSKCameraSessionErrorInvalidSetupDependency = -5,
GSKCameraSessionErrorNoVideoCaptureConnection = -6,
GSKCameraSessionErrorInvalidData = -7,
GSKCameraSessionErrorBadInput = -8,
// Warnings
GSKCameraSessionWarnLockDevice = -1003,
}
Swift
enum GSKCameraSessionError : Int, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Objective-C
GSKCameraSessionErrorOther = -1
Swift
case errorOther = -1
-
Undocumented
Declaration
Objective-C
GSKCameraSessionErrorNotAuthorized = -2
Swift
case errorNotAuthorized = -2
-
Undocumented
Declaration
Objective-C
GSKCameraSessionErrorLockDevice = -3
Swift
case errorLockDevice = -3
-
Undocumented
Declaration
Objective-C
GSKCameraSessionErrorNoDevice = -4
Swift
case errorNoDevice = -4
-
Undocumented
Declaration
Objective-C
GSKCameraSessionErrorInvalidSetupDependency = -5
Swift
case errorInvalidSetupDependency = -5
-
Undocumented
Declaration
Objective-C
GSKCameraSessionErrorNoVideoCaptureConnection = -6
Swift
case errorNoVideoCaptureConnection = -6
-
Undocumented
Declaration
Objective-C
GSKCameraSessionErrorInvalidData = -7
Swift
case errorInvalidData = -7
-
Undocumented
Declaration
Objective-C
GSKCameraSessionErrorBadInput = -8
Swift
case errorBadInput = -8
-
Undocumented
Declaration
Objective-C
GSKCameraSessionWarnLockDevice = -1003
Swift
case warnLockDevice = -1003