Package io.rong.imkit.userinfo

## Interface UserDataProvider.UserInfoProvider

- All Implemented Interfaces:

      public interface UserDataProvider.UserInfoProvider

  用户信息的提供者。

  如果在聊天中遇到的聊天对象是没有登录过的用户（即没有通过融云服务器鉴权过的），IMCenter 是不知道用户信息的，IMCenter 将调用此 Provider 获取用户信息。

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract UserInfo` | `getUserInfo(String userId)` | 获取用户信息。

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### getUserInfo

           abstract UserInfo getUserInfo(String userId)

      获取用户信息。

      Parameters:
        `userId` - 用户 Id。
      Returns:

        用户信息。