IAudioEffectPlayerEventHandler constructor
IAudioEffectPlayerEventHandler([
- NativeClassOptions? options
Implementation
IAudioEffectPlayerEventHandler([NativeClassOptions? options])
: super(options == null
? const NativeClassOptions([],
className: _$namespace,
instanceType: InstanceType.manual,
bridgeKey: 'com.volcengine.rtc.hybrid_runtime',
methodMap: {
r"onAudioEffectPlayerStateChanged":
r"onAudioEffectPlayerStateChanged"
})
: NativeClassOptions.fromMap({
...options.toMap(),
'bridgeKey': 'com.volcengine.rtc.hybrid_runtime',
})) {
registerEvent(
r"onAudioEffectPlayerStateChanged", onAudioEffectPlayerStateChanged);
}