package cn.jiguang.imui.chatinput.listener; import java.util.List; import cn.jiguang.imui.chatinput.model.FileItem; /** * Menu items' callbacks */ public interface OnMenuClickListener { /** * Fires when send button is on click. * * @param input Input content * @return boolean */ boolean onSendTextMessage(CharSequence input); /** * Files when send photos or videos. * When construct send message, you need to judge the type * of file item, according to * * @param list List of file item objects */ void onSendFiles(List<FileItem> list); /** * Fires when voice button is on click. */ void switchToMicrophoneMode(); /** * Fires when photo button is on click. */ void switchToGalleryMode(); /** * Fires when camera button is on click. */ void switchToCameraMode(); }