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 methodbestShot
returnstrue
, transmitted shots will be ignored unless aresume
method is called.Declaration
Objective-C
- (void)pushFrame:(nonnull CMSampleBufferRef)sampleBuffer;
Swift
func pushFrame(_ sampleBuffer: CMSampleBuffer)
Parameters
sampleBuffer
Sample of a video stream.
-
Resume the best shot detection process which was suspended through the
bestShot
delegate’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)