ByteRTCMonitorDelegate constructor
ByteRTCMonitorDelegate([
- NativeClassOptions? options
Implementation
ByteRTCMonitorDelegate([NativeClassOptions? options])
: super(options == null
? const NativeClassOptions([],
className: _$namespace,
instanceType: InstanceType.manual,
bridgeKey: 'com.volcengine.rtc.hybrid_runtime',
methodMap: {
r"onMonitorLog$withType": r"onMonitorLog:withType:",
r"onVerboseLogWithLevel$filename$tag$line$functionName$format":
r"onVerboseLogWithLevel:filename:tag:line:functionName:format:"
})
: NativeClassOptions.fromMap({
...options.toMap(),
'bridgeKey': 'com.volcengine.rtc.hybrid_runtime',
})) {
registerEvent(r"onMonitorLog:withType:", onMonitorLog$withType);
registerEvent(
r"onVerboseLogWithLevel:filename:tag:line:functionName:format:",
onVerboseLogWithLevel$filename$tag$line$functionName$format);
}