SCCameraKitLensMediaPickerProviderAllowedMediaType
Objective-C
NS_OPTIONS(NSInteger, SCCameraKitLensMediaPickerProviderAllowedMediaType) {
// The current lens has not provided any specific indication of the type of picker that should be shown.
SCCameraKitLensMediaPickerProviderAllowedMediaTypeNoneSpecified = 0,
// Images should be shown in the picker.
SCCameraKitLensMediaPickerProviderAllowedMediaTypeImage = 1 << 0,
// If LensMediaPickerProviderAllowedMediaTypeImage is specified, the provider should ONLY show images with a
// person's face in them
// If LensMediaPickerProviderAllowedMediaTypeImage is not specified, this option is ignored.
SCCameraKitLensMediaPickerProviderAllowedMediaTypeImageCroppedToFace = 1 << 1,
// Videos should be shown in the picker
SCCameraKitLensMediaPickerProviderAllowedMediaTypeVideo = 1 << 2,
}
Swift
struct SCCameraKitLensMediaPickerProviderAllowedMediaType : OptionSet, @unchecked Sendable
Undocumented
-
Undocumented
Declaration
Objective-C
SCCameraKitLensMediaPickerProviderAllowedMediaTypeNoneSpecified = 0
-
Undocumented
Declaration
Objective-C
SCCameraKitLensMediaPickerProviderAllowedMediaTypeImage = 1 << 0
Swift
static var image: SCCameraKitLensMediaPickerProviderAllowedMediaType { get }
-
Undocumented
Declaration
Objective-C
SCCameraKitLensMediaPickerProviderAllowedMediaTypeImageCroppedToFace = 1 << 1
Swift
static var imageCroppedToFace: SCCameraKitLensMediaPickerProviderAllowedMediaType { get }
-
Undocumented
Declaration
Objective-C
SCCameraKitLensMediaPickerProviderAllowedMediaTypeVideo = 1 << 2
Swift
static var video: SCCameraKitLensMediaPickerProviderAllowedMediaType { get }