ZegoMediaPlayerResource class
Multimedia resource for ZEGO media player.
Used to configure loading parameters when loading multimedia resources.
Constructors
- ZegoMediaPlayerResource(ZegoMultimediaLoadType loadType, {int? startPosition, ZegoAlphaLayoutType? alphaLayout, String? filePath, Uint8List? memory, String? resourceID})
- ZegoMediaPlayerResource.defaultConfig()
- Constructs a media player resource object by default.
Properties
- alphaLayout ↔ ZegoAlphaLayoutType?
-
If the specified resource has a transparent effect, you need to specify the layout position of the alpha data.
getter/setter pair
- filePath ↔ String?
-
Common resource path.The absolute resource path or the URL of the network resource and cannot be null or "". Android can set this path string with Uri.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadType ↔ ZegoMultimediaLoadType
-
Used to specify the loading type of multimedia resources.
getter/setter pair
- memory ↔ Uint8List?
-
binary data memory.
getter/setter pair
- resourceID ↔ String?
-
The resource ID obtained from the copyrighted music module.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startPosition ↔ int?
-
The progress at which the plaback started.
getter/setter pair
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