SnapscreenClipSnapViewController
@interface SnapscreenClipSnapViewController
View Controller to provide clip snapping functionality as a standalone feature without any of the surrounding flow and UI.
-
Provides the direct user of this view controller to hide the standard viewfinder and quadrangle detection UI.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL shouldHideStandardViewFinderAndQuadrangleDetection;
Swift
var shouldHideStandardViewFinderAndQuadrangleDetection: Int32 { get set }
-
Initialize the view controller with a sharing configuration and a delegate that receives the callbacks at the end of the snap process.
Declaration
Objective-C
- (instancetype) initWithConfiguration:(SnapscreenClipSharingConfiguration *)configuration delegate: (id<SnapscreenClipSnapViewControllerDelegate>)delegate;
Swift
init!(configuration: SnapscreenClipSharingConfiguration!, delegate: SnapscreenClipSnapViewControllerDelegate!)
Parameters
configuration
the sharing configuration
delegate
the delegate to receive callbacks
-
Initiates a manual snap
Declaration
Objective-C
- (void)takeManualSnap;
Swift
func takeManualSnap()
-
Manually stops camera capture
Declaration
Objective-C
- (void)stopCameraCapture;
Swift
func stopCameraCapture()
-
Manually starts camera capture if possible
Declaration
Objective-C
- (void)startCameraCapture;
Swift
func startCameraCapture()