public class ConversationSettingViewModel
extends AndroidViewModel
Modifier and Type | Class and Description |
---|---|
static class |
ConversationSettingViewModel.Factory |
Constructor and Description |
---|
ConversationSettingViewModel(android.app.Application application) |
ConversationSettingViewModel(android.app.Application application,
Conversation.ConversationType conversationType,
java.lang.String targetId) |
Modifier and Type | Method and Description |
---|---|
void |
clearMessages(long recordTime,
boolean clearRemote) |
<any> |
getNotificationStatus() |
<any> |
getOperationResult() |
<any> |
getTopStatus() |
protected void |
onCleared() |
void |
setConversationTop(boolean isTop,
boolean shouldCreateNewConversation) |
void |
setNotificationStatus(Conversation.ConversationNotificationStatus status) |
public ConversationSettingViewModel(android.app.Application application)
public ConversationSettingViewModel(android.app.Application application, Conversation.ConversationType conversationType, java.lang.String targetId)
public void clearMessages(long recordTime, boolean clearRemote)
public void setConversationTop(boolean isTop, boolean shouldCreateNewConversation)
public void setNotificationStatus(Conversation.ConversationNotificationStatus status)
public <any> getTopStatus()
public <any> getNotificationStatus()
public <any> getOperationResult()
protected void onCleared()