SCCameraKitLensFetchPriority
Objective-C
enum SCCameraKitLensFetchPriority : NSInteger {}
Swift
enum LensFetchPriority : Int, @unchecked Sendable
Priority of the fetch task, used to determine the order of execution.
-
Default priority for fetch tasks, used when no priority is specified. Usually indicates that the task can be executed with the medium priority
Declaration
Objective-C
SCCameraKitLensFetchPriorityDefault = -1Swift
case `default` = -1 -
Used for work that is not user initiated or visible. In general, a user is unaware that this work is even happening.
Declaration
Objective-C
SCCameraKitLensFetchPriorityLow = 3Swift
case low = 3 -
Used for performing work which the user is unlikely to be immediately waiting for the results.
Declaration
Objective-C
SCCameraKitLensFetchPriorityMedium = 7Swift
case medium = 7 -
Used for work that is user initiated and visible. In general, the user is waiting for this work to complete.
Declaration
Objective-C
SCCameraKitLensFetchPriorityHigh = 11Swift
case high = 11 -
Used for performing work expected to be immediately visible to the user. This is the highest priority for fetch tasks which is generally equals to the main thread priority. Be careful when using this priority, as it can lead to performance issues if overused.
Declaration
Objective-C
SCCameraKitLensFetchPriorityImmediate = 15Swift
case immediate = 15