ZegoMediaPlayerResource
ZegoMediaPlayerResource
Multimedia resource for ZEGO media player.
Details
Used to configure loading parameters when loading multimedia resources.
Declared in entity/ZegoMediaPlayerResource.java
Properties
loadType
public ZegoMultimediaLoadType loadTypeUsed to specify the loading type of multimedia resources.
startPosition
public long startPositionThe progress at which the plaback started.
alphaLayout
public ZegoAlphaLayoutType alphaLayoutIf the specified resource has a transparent effect, you need to specify the layout position of the alpha data.
filePath
public String filePathCommon resource path.The absolute resource path or the URL of the network resource and cannot be nil or "". Android can set this path string with Uri.
memory
public ByteBuffer memorybinary data memory.
memoryLength
public int memoryLengthBinary data memory length.
resourceID
public String resourceIDThe resource ID obtained from the copyrighted music module.
onlineResourceCachePath
public String onlineResourceCachePathOnline resource cache path, in utf8 encoding format.
maxCachePendingLength
public long maxCachePendingLengthThe maximum length of online resource cache to be used, in bytes, with a minimum setting of 500K (500 * 1024). The default value is 0 - no limit, and try to cache the entire file.
Methods
ZegoMediaPlayerResource
public ZegoMediaPlayerResourceentity/ZegoMediaPlayerResource.java