# RongExtensionViewModel

public class RongExtensionViewModel

## Constructors

RongExtensionViewModel
Link copied to clipboard
public void RongExtensionViewModel(Application application)

## Properties

isSoftInputShow
Link copied to clipboard
public boolean isSoftInputShow

## Functions

collapseExtensionBoard
Link copied to clipboard
public void collapseExtensionBoard()
收起面板，RongExtension 仅显示 InputPanel。
exitMoreInputMode
Link copied to clipboard
public void exitMoreInputMode(Context context)
退出"更多"模式
forceSetSoftInputKeyBoard
Link copied to clipboard
public void forceSetSoftInputKeyBoard(boolean isShow)
public void forceSetSoftInputKeyBoard(boolean isShow, boolean clearFocus)
getConversationIdentifier
Link copied to clipboard
public ConversationIdentifier getConversationIdentifier()
getEditTextWidget
Link copied to clipboard
public EditText getEditTextWidget()
获取 EditText 控件
getExtensionBoardState
Link copied to clipboard
public MutableLiveData<Boolean> getExtensionBoardState()
获取面板打开状态。 `value < 0` 面板收起； `value > 0`, 代表面板打开，value 为面板打开后的高度。
getInputModeLiveData
Link copied to clipboard
public MutableLiveData<InputMode> getInputModeLiveData()
获取输入模式的 LiveData
isSoftInputShow
Link copied to clipboard
public boolean isSoftInputShow()
onSendClick
Link copied to clipboard
public void onSendClick()
setEditTextWidget
Link copied to clipboard
public void setEditTextWidget(EditText editText)
setSoftInputKeyBoard
Link copied to clipboard
public void setSoftInputKeyBoard(boolean isShow)
public void setSoftInputKeyBoard(boolean isShow, boolean clearFocus)