io.agora.rtc

## Class AccountInfo

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

-     public class AccountInfo
      extends java.lang.Object

  Account information for a user.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `uid` User ID
    `java.lang.String` | `userAccount` User account name

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AccountInfo(int uid, java.lang.String userAccount)` Constructs an AccountInfo object.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getUid()` Gets the user ID.
    `java.lang.String` | `getUserAccount()` Gets the user account name.
    `java.lang.String` | `toString()`

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

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

- - ### Field Detail

    - #### uid

          public int uid

      User ID

    - #### userAccount

          public java.lang.String userAccount

      User account name

  - ### Constructor Detail

    - #### AccountInfo

          public AccountInfo(int uid,
                             java.lang.String userAccount)

      Constructs an AccountInfo object.
      Parameters:
        `uid` - User ID
        `userAccount` - User account name

  - ### Method Detail

    - #### getUid

          public int getUid()

      Gets the user ID.
      Returns:
        User ID

    - #### getUserAccount

          public java.lang.String getUserAccount()

      Gets the user account name.
      Returns:
        User account name

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`