BNBErrorListener
Objective-C
@protocol BNBErrorListener
Swift
protocol BNBErrorListener
Interface to receive errors from EffectPlayer
.
Could be called from any thread inside EffectPlayer. So the implementation of this listener should be thread-safe.
-
Declaration
Objective-C
- (void)onError:(nonnull NSString *)domain message:(nonnull NSString *)message;
Swift
func onError(_ domain: String, message: String)
Parameters
domain
source of error (e.g. “js_engine”)