Package im.zego.zegoexpress.entity
Class ZegoMediaPlayerResource
- java.lang.Object
-
- im.zego.zegoexpress.entity.ZegoMediaPlayerResource
-
public class ZegoMediaPlayerResource extends java.lang.Object
Multimedia resource for ZEGO media player. Used to configure loading parameters when loading multimedia resources.
-
-
Field Summary
Fields Modifier and Type Field Description ZegoAlphaLayoutType
alphaLayout
If the specified resource has a transparent effect, you need to specify the layout position of the alpha data.java.lang.String
filePath
Common resource path.The absolute resource path or the URL of the network resource and cannot be null or "".ZegoMultimediaLoadType
loadType
Used to specify the loading type of multimedia resources.java.nio.ByteBuffer
memory
binary data memory.int
memoryLength
Binary data memory length.java.lang.String
resourceID
The resource ID obtained from the copyrighted music module.long
startPosition
The progress at which the plaback started.
-
Constructor Summary
Constructors Constructor Description ZegoMediaPlayerResource()
-
-
-
Field Detail
-
loadType
public ZegoMultimediaLoadType loadType
Used to specify the loading type of multimedia resources.
-
startPosition
public long startPosition
The progress at which the plaback started.
-
alphaLayout
public ZegoAlphaLayoutType alphaLayout
If the specified resource has a transparent effect, you need to specify the layout position of the alpha data.
-
filePath
public java.lang.String filePath
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.
-
memory
public java.nio.ByteBuffer memory
binary data memory.
-
memoryLength
public int memoryLength
Binary data memory length.
-
resourceID
public java.lang.String resourceID
The resource ID obtained from the copyrighted music module.
-
-