io.agora.rtc

## Class UserInfo

- java.lang.Object
- - io.agora.rtc.UserInfo

-     public class UserInfo
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private int` | `hasAudio`
    `private int` | `hasVideo`
    `private java.lang.String` | `userId`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserInfo()`
    `UserInfo(java.lang.String userId, int hasAudio, int hasVideo)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getHasAudio()`
    `int` | `getHasVideo()`
    `java.lang.String` | `getUserId()`
    `void` | `setHasAudio(int hasAudio)`
    `void` | `setHasVideo(int hasVideo)`
    `void` | `setUserId(java.lang.String userId)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### userId

          private java.lang.String userId

    - #### hasAudio

          private int hasAudio

    - #### hasVideo

          private int hasVideo

  - ### Constructor Detail

    - #### UserInfo

          public UserInfo()

    - #### UserInfo

          public UserInfo(java.lang.String userId,
                          int hasAudio,
                          int hasVideo)

  - ### Method Detail

    - #### getUserId

          public java.lang.String getUserId()

    - #### setUserId

          public void setUserId(java.lang.String userId)

    - #### getHasAudio

          public int getHasAudio()

    - #### setHasAudio

          public void setHasAudio(int hasAudio)

    - #### getHasVideo

          public int getHasVideo()

    - #### setHasVideo

          public void setHasVideo(int hasVideo)