接口 IChatInputMenu
-
- 所有已知实现类:
EaseChatInputMenu
public interface IChatInputMenu
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 IChatExtendMenugetChatExtendMenu()Get extended menuIChatTopExtendMenugetChatTopExtendMenu()Get the top extension menuIChatEmojiconMenugetEmojiconMenu()Get emoji menuIChatPrimaryMenugetPrimaryMenu()Get menuvoidhideExtendContainer()Hide extended area (including emoticons and extended menu)voidhideInputMenu()Hide input menu exclude top extend menu.voidhideSoftKeyboard()Hide soft keyboardbooleanonBackPressed()Click backvoidsetChatInputMenuListener(ChatInputMenuListener listener)Set menu listenervoidsetCustomEmojiconMenu(IChatEmojiconMenu menu)Set up a custom emojivoidsetCustomExtendMenu(IChatExtendMenu menu)Set up a custom extended menuvoidsetCustomPrimaryMenu(IChatPrimaryMenu menu)Set custom menuvoidsetCustomTopExtendMenu(IChatTopExtendMenu menu)Set custom top extension menu.voidshowEmojiconMenu(boolean show)Whether to show the emoji menuvoidshowExtendMenu(boolean show)Whether to show the extended menuvoidshowTopExtendMenu(boolean isShow)Whether to show the top extension menu
-
-
-
方法详细资料
-
setCustomPrimaryMenu
void setCustomPrimaryMenu(IChatPrimaryMenu menu)
Set custom menu- 参数:
menu-
-
setCustomEmojiconMenu
void setCustomEmojiconMenu(IChatEmojiconMenu menu)
Set up a custom emoji- 参数:
menu-
-
setCustomExtendMenu
void setCustomExtendMenu(IChatExtendMenu menu)
Set up a custom extended menu- 参数:
menu-
-
setCustomTopExtendMenu
void setCustomTopExtendMenu(IChatTopExtendMenu menu)
Set custom top extension menu.- 参数:
menu-
-
hideExtendContainer
void hideExtendContainer()
Hide extended area (including emoticons and extended menu)
-
hideInputMenu
void hideInputMenu()
Hide input menu exclude top extend menu.
-
showEmojiconMenu
void showEmojiconMenu(boolean show)
Whether to show the emoji menu- 参数:
show-
-
showExtendMenu
void showExtendMenu(boolean show)
Whether to show the extended menu- 参数:
show-
-
showTopExtendMenu
void showTopExtendMenu(boolean isShow)
Whether to show the top extension menu- 参数:
isShow-
-
hideSoftKeyboard
void hideSoftKeyboard()
Hide soft keyboard
-
setChatInputMenuListener
void setChatInputMenuListener(ChatInputMenuListener listener)
Set menu listener- 参数:
listener-
-
getPrimaryMenu
IChatPrimaryMenu getPrimaryMenu()
Get menu- 返回:
-
getEmojiconMenu
IChatEmojiconMenu getEmojiconMenu()
Get emoji menu- 返回:
-
getChatExtendMenu
IChatExtendMenu getChatExtendMenu()
Get extended menu- 返回:
-
getChatTopExtendMenu
IChatTopExtendMenu getChatTopExtendMenu()
Get the top extension menu- 返回:
-
onBackPressed
boolean onBackPressed()
Click back- 返回:
-
-