언어

InputMethodService.OnStartConnectionlessStylusHandwriting 메서드

정의

앱이 InputMethodManager.startConnectionlessStylusHandwriting(View,CursorAnchorInfo,Executor,ConnectionlessHandwritingCallback), InputMethodManager.startConnectionless 중 하나를 사용하여 연결 없는 스타일러스 필기 세션을 시작하도록 요청할 때 호출됩니다.StylusHandwritingForDelegation(View,CursorAnchorInfo,Executor,ConnectionlessHandwritingCallback) 또는 InputMethodManager.startConnectionlessStylusHandwritingForDelegation(View,CursorAnchorInfo,String,Executor, ConnectionlessHandwritingCallback).

[Android.Runtime.Register("onStartConnectionlessStylusHandwriting", "(ILandroid/view/inputmethod/CursorAnchorInfo;)Z", "GetOnStartConnectionlessStylusHandwriting_ILandroid_view_inputmethod_CursorAnchorInfo_Handler", ApiSince=35)]
public virtual bool OnStartConnectionlessStylusHandwriting(int inputType, Android.Views.InputMethods.CursorAnchorInfo? cursorAnchorInfo);
[<Android.Runtime.Register("onStartConnectionlessStylusHandwriting", "(ILandroid/view/inputmethod/CursorAnchorInfo;)Z", "GetOnStartConnectionlessStylusHandwriting_ILandroid_view_inputmethod_CursorAnchorInfo_Handler", ApiSince=35)>]
abstract member OnStartConnectionlessStylusHandwriting : int * Android.Views.InputMethods.CursorAnchorInfo -> bool
override this.OnStartConnectionlessStylusHandwriting : int * Android.Views.InputMethods.CursorAnchorInfo -> bool

매개 변수

inputType
Int32
cursorAnchorInfo
CursorAnchorInfo

반품

특성

설명

앱이 InputMethodManager.startConnectionlessStylusHandwriting(View,CursorAnchorInfo,Executor,ConnectionlessHandwritingCallback), InputMethodManager.startConnectionless 중 하나를 사용하여 연결 없는 스타일러스 필기 세션을 시작하도록 요청할 때 호출됩니다.StylusHandwritingForDelegation(View,CursorAnchorInfo,Executor,ConnectionlessHandwritingCallback) 또는 InputMethodManager.startConnectionlessStylusHandwritingForDelegation(View,CursorAnchorInfo,String,Executor, ConnectionlessHandwritingCallback).

연결 없는 스타일러스 필기 세션은 입력 연결이 텍스트 편집기와 통신하는 데 사용되지 않는다는 점에서 일반 세션과 다릅니다. 대신 IME가 finishConnectionlessStylusHandwriting(CharSequence)을 사용하여 연결 없는 세션을 완료하면 인식된 텍스트가 전달됩니다.

IME가 연결 없는 필기 세션을 시작할 수 있는 경우 true를 반환하고, 해당 수동 입력 보기가 getStylusHandwritingWindow()에 연결되어 있는지 확인하고, getStylusHandwritingWindow()의 onStylusHandwritingMotionEvent(MotionEvent)에서 받은 스타일러스 입력을 처리해야 합니다.

에 대한 android.inputmethodservice.InputMethodService.onStartConnectionlessStylusHandwritingAndroid 참조

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상