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;
Parameters
lensProcessor
curent lens processor instance
hint
localized hint text to display
lens
current lens applied
autohide
should 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;
Parameters
lensProcessor
curent lens processor instance
lens
current lens applied