PlayEvent class
播放事件
- Inheritance
-
- Object
- ContentEvent
- PlayEvent
Constructors
Properties
- action → String
-
事件动作
finalinherited
- contentId → String
-
内容ID
finalinherited
-
data
→ Map<
String, dynamic> -
事件数据(组合所有相关数据)
no setteroverride
- duration → int
-
总时长(毫秒)
final
-
extra
→ Map<
String, dynamic> ? -
额外数据
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- position → int
-
播放位置(毫秒)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PlayStatus
-
播放状态
final
- timestamp → int
-
时间戳
finalinherited
- type → String
-
事件类型(别名:action)
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
转换为Map
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited