IAudioEffectPlayerEventHandler class
@detail callback @brief IAudioEffectPlayer{@link #IAudioEffectPlayer} 对应的回调句柄。你必须调用 setEventHandler{@link #IAudioEffectPlayer#setEventHandler} 完成设置后,才能收到对应回调。
Constructors
-
IAudioEffectPlayerEventHandler({FutureOr<
void> onAudioEffectPlayerStateChanged(int effectId, PlayerState state, PlayerError error)?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onAudioEffectPlayerStateChanged
↔ FutureOr<
void> Function(int effectId, PlayerState state, PlayerError error)? -
@detail callback
@brief 播放状态改变时回调。
@param effectId IAudioEffectPlayer{@link #IAudioEffectPlayer} 的 ID。通过 getAudioEffectPlayer{@link #RTCEngine#getAudioEffectPlayer} 设置。
@param state 混音状态。参考 PlayerState{@link #PlayerState}。
@param error 错误码。参考 PlayerError{@link #PlayerError}。
@order 0
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited