DBRIntermediateResultListener
The Protocol that handles callback when IntermediateResult
is returned by the library.
- Objective-C
- Swift
@protocol DBRIntermediateResultListener <NSObject>
protocol DBRIntermediateResultListener : NSObjectProtocol
Method | Type | Description |
---|---|---|
intermediateResultCallback |
required | Represents the method to handle the intermediate result array returned by the library. |
intermediateResultCallback
Represents the method to handle the intermediate result array returned by the library.
- Objective-C
- Swift
- (void)intermediateResultCallback:(NSInteger)frameId imageData:(iImageData *_Nonnull)imageData results:(NSArray<iIntermediateResult*>* _Nullable)results;
func intermediateResultCallback(_ frameId: Int, imageData: iImageData, results: [iIntermediateResult]?)
Parameters
frameID
: The ID of the frame.
imageData
: The image data of the frame.
results
: The intermediate results of the frame.