Package io.rong.imkit.conversation

## Class ConversationSettingViewModel

- All Implemented Interfaces:

      public class ConversationSettingViewModel

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public class` | `ConversationSettingViewModel.Factory` |

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ConversationSettingViewModel(Application application)` |
    `ConversationSettingViewModel(Application application, ConversationIdentifier conversationIdentifier)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `clearMessages(long recordTime, boolean clearRemote)` |
    `void` | `setConversationTop(boolean isTop, boolean shouldCreateNewConversation)` |
    `void` | `setNotificationStatus(ConversationNotificationStatus status)` |
    `MutableLiveData<Boolean>` | `getTopStatus()` |
    `MutableLiveData<ConversationNotificationStatus>` | `getNotificationStatus()` |
    `MutableLiveData<OperationResult>` | `getOperationResult()` |

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

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

- - ### Constructor Detail

    - #### ConversationSettingViewModel

          ConversationSettingViewModel(Application application)

    - #### ConversationSettingViewModel

          ConversationSettingViewModel(Application application, ConversationIdentifier conversationIdentifier)

  - ### Method Detail

    - #### clearMessages

           void clearMessages(long recordTime, boolean clearRemote)

    - #### setConversationTop

           void setConversationTop(boolean isTop, boolean shouldCreateNewConversation)

    - #### setNotificationStatus

           void setNotificationStatus(ConversationNotificationStatus status)

    - #### getTopStatus

           MutableLiveData<Boolean> getTopStatus()

    - #### getNotificationStatus

           MutableLiveData<ConversationNotificationStatus> getNotificationStatus()

    - #### getOperationResult

           MutableLiveData<OperationResult> getOperationResult()