OnBGMNotify class

背景音乐回调类

Constructors

OnBGMNotify()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onBGMComplete(int err) → void
音乐播放结束的回调通知 err 0:正常结束;-1:出错结束
onBGMProgress(int progress, int duration) → void
音乐播放进度的回调通知 progress 当前 BGM 已播放时间(ms) duration 当前 BGM 总时间(ms)
onBGMStart() → void
音乐播放开始的回调通知
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited