ZegoUIKitMediaPlayerConfig class

Constructors

ZegoUIKitMediaPlayerConfig.new({bool canControl = true, bool showSurface = true, bool autoStart = true, bool isMovable = true, bool autoHideSurface = true, int hideSurfaceSecond = 3, bool enableRepeat = false, bool isPlayButtonCentral = true, List<String>? allowedExtensions})
const

Properties

allowedExtensions List<String>?
extensions of pick files, video: "avi","flv","mkv","mov","mp4","mpeg","webm","wmv", audio: "aac","midi","mp3","ogg","wav",
final
autoHideSurface bool
auto hide surface after hideSurfaceSecond, default is true
final
autoStart bool
auto start play after pick or set media url
final
canControl bool
can control or not, such as
final
enableRepeat bool
repeat or not
final
hashCode int
The hash code for this object.
no setterinherited
hideSurfaceSecond int
hide surface in seconds, default is 3 second
final
isMovable bool
can this media moveable on parent
final
isPlayButtonCentral bool
show big play button central on player, or show a small control button
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showSurface bool
show surface(controls) or not, default is true
final

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