BNBJsCallback
Objective-C
@protocol BNBJsCallback
Swift
protocol BNBJsCallback
Callback for JS execution results.
-
This method will be executed on the render thread. Try not to return as fast as possible. param result String represenation of execution result.
Declaration
Objective-C
- (void)onResult:(nonnull NSString *)result;
Swift
func onResult(_ result: String)