LCBestShotDetectorProtocol
Objective-C
@protocol LCBestShotDetectorProtocol <NSObject>
Swift
protocol LCBestShotDetectorProtocol : NSObjectProtocol
Interface of the best shot detector.
-
Sends a video stream shot in the processing queue.
Note
If a delegate’s methodbestShotreturnstrue, transmitted shots will be ignored unless aresumemethod is called.Declaration
Objective-C
- (void)pushFrame:(nonnull CMSampleBufferRef)sampleBuffer;Swift
func pushFrame(_ sampleBuffer: CMSampleBuffer)Parameters
sampleBufferSample of a video stream.
-
Resume the best shot detection process which was suspended through the
bestShotdelegate’s method.Declaration
Objective-C
- (void)resume;Swift
func resume() -
Undocumented
Declaration
Objective-C
- (void)screenSize:(CGSize) size edges:(UIEdgeInsets) edges ;Swift
func screenSize(_ size: CGSize, edges: UIEdgeInsets)
LCBestShotDetectorProtocol Protocol Reference