DBRIntermediateResultDelegate
Represents the method to handle the intermediate result array returned by the library.
@protocol DBRIntermediateResultDelegate <NSObject>
Method | Type | Description |
---|---|---|
intermediateResultCallback |
required | The method for users to add code for using intermediate results. |
DBRIntermediateResultDelegate
The method for users to add code for using intermediate results.
@required
- (void)intermediateResultCallback:(NSInteger)frameId results:(NSArray<iIntermediateResult*>* _Nullable)results userData: (NSObject* _Nullable)userData;
Parameters
frameID
: The ID of the frame.
results
: The intermediate results of the frame.
userData
: Arguments to pass to your function(s).