SnapscreenClipSnapViewControllerDelegate
@protocol SnapscreenClipSnapViewControllerDelegate <NSObject>
Delegate to let the user of the SnapViewController know if manual snapping should be enabled
-
Informs the delegate about whether a manual snap button should be enabled or not
Declaration
Objective-C
- (void)clipSnapViewController: (SnapscreenClipSnapViewController *)clipSnapViewController shouldSetManualSnapButtonEnabled:(BOOL)enabled;
Swift
func clipSnapViewController(_ clipSnapViewController: SnapscreenClipSnapViewController!, shouldSetManualSnapButtonEnabled enabled: Any!)
-
Informs the delegate that a snap result was captured
Declaration
Objective-C
- (void)clipSnapViewController: (SnapscreenClipSnapViewController *)clipSnapViewController didSnapResultEntry:(SnapscreenTvSearchResultEntry *)snapResultEntry;
Swift
func clipSnapViewController(_ clipSnapViewController: SnapscreenClipSnapViewController!, didSnapResultEntry snapResultEntry: SnapscreenTvSearchResultEntry!)
-
Informs the delegate about a change of the viewfinder size. The viewfinder is always positioned in the center of the full view.
Declaration
Objective-C
- (void)clipSnapViewController: (SnapscreenClipSnapViewController *)clipSnapViewController didResizeViewFinderToSize:(CGSize)viewFinderSize;
Swift
optional func clipSnapViewController(_ clipSnapViewController: SnapscreenClipSnapViewController!, didResizeViewFinderToSize viewFinderSize: Any!)
-
Informs the delegate when the setup of the snap view is complete and camera capture has started. Also called when the camera feed is restarted, e.g. after the application got inactive or the user navigated away from the viewcontroller and back again.
Declaration
Objective-C
- (void)clipSnapViewControllerDidStartImageCapture: (SnapscreenClipSnapViewController *)clipSnapViewController;
Swift
optional func clipSnapViewControllerDidStartImageCapture(_ clipSnapViewController: SnapscreenClipSnapViewController!)
-
Informs the delegate that camera capture has stopped
Declaration
Objective-C
- (void)clipSnapViewControllerDidStopImageCapture: (SnapscreenClipSnapViewController *)clipSnapViewController;
Swift
optional func clipSnapViewControllerDidStopImageCapture(_ clipSnapViewController: SnapscreenClipSnapViewController!)
-
Asks the delegate whether standard status updates should be shown - including progress and error messages. Defaults to YES if not implemented. If the delegate returns NO, the delegate should respond to the clipSnapViewController:showStatus: callbacks.
Declaration
Objective-C
- (BOOL)clipSnapViewControllerShouldShowStandardStatusUpdates: (SnapscreenClipSnapViewController *)clipSnapViewController;
Swift
optional func clipSnapViewControllerShouldShowStandardStatusUpdates(_ clipSnapViewController: SnapscreenClipSnapViewController!) -> Any!
-
Informs the delegate that a certain status update should be shown
Declaration
Objective-C
- (void)clipSnapViewController: (SnapscreenClipSnapViewController *)clipSnapViewController didUpdateStatus:(SnapscreenClipSnapStatus)status;
Swift
optional func clipSnapViewController(_ clipSnapViewController: SnapscreenClipSnapViewController!, didUpdateStatus status: Any!)