Package io.rong.imkit.widget
Class SpeechToTextPopup
-
- All Implemented Interfaces:
public class SpeechToTextPopup extends PopupWindow语音文本操作弹窗 - 提供复制和取消转文字功能
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSpeechToTextPopup.OnActionClickListener操作点击监听器
-
Field Summary
Fields Modifier and Type Field Description public final static intINPUT_METHOD_FROM_FOCUSABLEpublic final static intINPUT_METHOD_NEEDEDpublic final static intINPUT_METHOD_NOT_NEEDED
-
Constructor Summary
Constructors Constructor Description SpeechToTextPopup(Context context)
-
Method Summary
Modifier and Type Method Description voidsetOnActionClickListener(SpeechToTextPopup.OnActionClickListener listener)设置操作点击监听器 voidshowAboveView(View anchorView)在指定View上方显示弹窗 -
Methods inherited from class android.widget.PopupWindow
dismiss, getAnimationStyle, getBackground, getContentView, getElevation, getEnterTransition, getEpicenterBounds, getExitTransition, getHeight, getInputMethodMode, getMaxAvailableHeight, getOverlapAnchor, getSoftInputMode, getWidth, getWindowLayoutType, isAboveAnchor, isAttachedInDecor, isClippedToScreen, isClippingEnabled, isFocusable, isLaidOutInScreen, isOutsideTouchable, isShowing, isSplitTouchEnabled, isTouchModal, isTouchable, setAnimationStyle, setAttachedInDecor, setBackgroundDrawable, setClippingEnabled, setContentView, setElevation, setEnterTransition, setEpicenterBounds, setExitTransition, setFocusable, setHeight, setIgnoreCheekPress, setInputMethodMode, setIsClippedToScreen, setIsLaidOutInScreen, setOnDismissListener, setOutsideTouchable, setOverlapAnchor, setSoftInputMode, setSplitTouchEnabled, setTouchInterceptor, setTouchModal, setTouchable, setWidth, setWindowLayoutMode, setWindowLayoutType, showAsDropDown, showAtLocation, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setOnActionClickListener
void setOnActionClickListener(SpeechToTextPopup.OnActionClickListener listener)
设置操作点击监听器
-
showAboveView
void showAboveView(View anchorView)
在指定View上方显示弹窗
-
-
-
-