Package io.agora.rtc2

Class ExtensionInfo

java.lang.Object
io.agora.rtc2.ExtensionInfo

public class ExtensionInfo extends Object
  • Field Details

    • mediaSourceType

      public Constants.MediaSourceType mediaSourceType
      The type of media device.
    • channelId

      public String channelId
      The unique channel name for the AgoraRTC session in the string format. The string length must be less than 64 bytes. Supported character scopes are: - All lowercase English letters: a to z. - All uppercase English letters: A to Z. - All numeric characters: 0 to 9. - The space character. - Punctuation characters and other symbols, including: "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", " {", "}", "|", "~", ",".
    • remoteUid

      public int remoteUid
      The id of the remote user on which the extension works.
    • localUid

      public int localUid
      User ID: A 32-bit unsigned integer ranging from 1 to (2^32-1). It must be unique.
  • Constructor Details

    • ExtensionInfo

      public ExtensionInfo()
    • ExtensionInfo

      public ExtensionInfo(Constants.MediaSourceType mediaSourceType, int remoteUid, String channelId, int localUid)