Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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.
    • Constructor Detail

      • ZegoMediaPlayerResource

        public ZegoMediaPlayerResource()