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.
read / write
- 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.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- loadType ↔ ZegoMultimediaLoadType
-
Used to specify the loading type of multimedia resources.
read / write
- memory ↔ Uint8List?
-
binary data memory.
read / write
- resourceID ↔ String?
-
The resource ID obtained from the copyrighted music module.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- startPosition ↔ int?
-
The progress at which the plaback started.
read / write
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