ZegoMediaPlayerResource Class Reference

Inherits from NSObject
Declared in ZegoExpressDefines.h

Overview

Used to configure loading parameters when loading multimedia resources.

  loadType

Used to specify the loading type of multimedia resources.

@property (nonatomic, assign) ZegoMultimediaLoadType loadType

Declared In

ZegoExpressDefines.h

  startPosition

The progress at which the plaback started.

@property (nonatomic, assign) long startPosition

Declared In

ZegoExpressDefines.h

  alphaLayout

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

@property (nonatomic, assign) ZegoAlphaLayoutType alphaLayout

Declared In

ZegoExpressDefines.h

  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.

@property (nonatomic, copy) NSString *filePath

Declared In

ZegoExpressDefines.h

  memory

binary data memory.

@property (nonatomic, strong, nullable) NSData *memory

Declared In

ZegoExpressDefines.h

  memoryLength

Binary data memory length.

@property (nonatomic, assign) int memoryLength

Declared In

ZegoExpressDefines.h

  resourceID

The resource ID obtained from the copyrighted music module.

@property (nonatomic, copy) NSString *resourceID

Declared In

ZegoExpressDefines.h