Package io.rong.imkit.model

## Class OnlineStatusFriendInfo

- All Implemented Interfaces:

      public class OnlineStatusFriendInfo

  组合了好友信息与该好友的在线状态信息

  Since:

    5.32.0

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public FriendInfo` | `friendInfo` |
    `public boolean` | `isOnline` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `OnlineStatusFriendInfo(FriendInfo friendInfo, boolean isOnline)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `FriendInfo` | `getFriendInfo()` |
    `void` | `setFriendInfo(FriendInfo friendInfo)` |
    `boolean` | `isOnline()` |
    `void` | `setOnline(boolean online)` |

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

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

- - ### Constructor Detail

    - #### OnlineStatusFriendInfo

          OnlineStatusFriendInfo(FriendInfo friendInfo, boolean isOnline)

  - ### Method Detail

    - #### getFriendInfo

           FriendInfo getFriendInfo()

    - #### setFriendInfo

           void setFriendInfo(FriendInfo friendInfo)

    - #### isOnline

           boolean isOnline()

    - #### setOnline

           void setOnline(boolean online)