SCCameraKitLensHintDelegate
Objective-C
@protocol SCCameraKitLensHintDelegate <NSObject>
Swift
protocol LensHintDelegate : NSObjectProtocol
Lens hint delegate used to notify receivers when to show/hide hints for applied lenses
-
Notifies receiver that they should show hint for current lens
Declaration
Objective-C
- (void)lensProcessor:(nonnull id<SCCameraKitLensProcessor>)lensProcessor shouldDisplayHint:(nonnull NSString *)hint forLens:(nonnull id<SCCameraKitLens>)lens autohide:(BOOL)autohide;Swift
func lensProcessor(_ lensProcessor: any SCCameraKitLensProcessor, shouldDisplayHint hint: String, for lens: any SCCameraKitLens, autohide: Bool)Parameters
lensProcessorcurent lens processor instance
hintlocalized hint text to display
lenscurrent lens applied
autohideshould autohide hint
-
Notifies receiver that they should remove all hints for current lens
Declaration
Objective-C
- (void)lensProcessor:(nonnull id<SCCameraKitLensProcessor>)lensProcessor shouldHideAllHintsForLens:(nonnull id<SCCameraKitLens>)lens;Swift
func lensProcessor(_ lensProcessor: any SCCameraKitLensProcessor, shouldHideAllHintsFor lens: any SCCameraKitLens)Parameters
lensProcessorcurent lens processor instance
lenscurrent lens applied