SCCameraKitLensPrefetcherObserver
Objective-C
@protocol SCCameraKitLensPrefetcherObserver <NSObject>
Swift
protocol LensPrefetcherObserver : NSObjectProtocol
Describes an interface used to observe changes in lens fetch status
-
Notification when fetcher updates lens fetch status
Declaration
Objective-C
- (void)prefetcher:(nonnull id<SCCameraKitLensPrefetcher>)prefetcher didUpdateLens:(nonnull id<SCCameraKitLens>)lens status:(SCCameraKitLensFetchStatus)status;
Parameters
prefetcher
LensPrefetcher instance that updated lens fetch status
lens
lens whose fetch status was updated
status
new fetch status for lens