IMediaPlayerAudioFrameObserver class

@detail callback @author zhangyuanyuan.0101 @brief 本地音频文件混音的音频帧观察者。

Constructors

IMediaPlayerAudioFrameObserver({FutureOr<void> onFrame(int playerId)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onFrame FutureOr<void> Function(int playerId)?
@detail callback @brief 当本地音频文件混音时,回调播放的音频帧。 @param playerId 播放器 ID @param frame 参看 IAudioFrame{@link #IAudioFrame}。
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