RTCMediaPlayerEventHandler class

RTCMediaPlayer 对应的回调句柄。你必须调用 RTCMediaPlayer.setEventHandler 完成设置后,才能收到对应回调。

Properties

hashCode int
The hash code for this object.
no setterinherited
onMediaPlayerPlayingProgress OnMediaPlayerPlayingProgressType?
播放进度周期性回调。回调周期通过 RTCMediaPlayer.setProgressInterval 设置。
getter/setter pair
onMediaPlayerStateChanged OnMediaPlayerStateChangedType?
播放状态改变时回调。
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