logo
On this page

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

loadType
public ZegoMultimediaLoadType loadType

Used to specify the loading type of multimedia resources.

startPosition

startPosition
public long startPosition

The progress at which the plaback started.

alphaLayout

alphaLayout
public ZegoAlphaLayoutType alphaLayout

If the specified resource has a transparent effect, you need to specify the layout position of the alpha data.

filePath

filePath
public String filePath

Common 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

memory
public ByteBuffer memory

binary data memory.

memoryLength

memoryLength
public int memoryLength

Binary data memory length.

resourceID

resourceID
public String resourceID

The resource ID obtained from the copyrighted music module.

onlineResourceCachePath

onlineResourceCachePath
public String onlineResourceCachePath

Online resource cache path, in utf8 encoding format.

maxCachePendingLength

maxCachePendingLength
public long maxCachePendingLength

The 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

ZegoMediaPlayerResource
Declared in entity/ZegoMediaPlayerResource.java

Previous

zegomediaplayermediainfo

Next

zegomediaplayerstatisticsinfo

On this page

Back to top