InputMethodService.StylusHandwritingSessionTimeout Property

Definition

Returns the duration after which an ongoing stylus handwriting session that hasn't received new MotionEvents will time out and #finishStylusHandwriting() will be called. -or- Sets the duration after which an ongoing stylus handwriting session that hasn't received new MotionEvents will time out and #finishStylusHandwriting() will be called.

public Java.Time.Duration StylusHandwritingSessionTimeout { [Android.Runtime.Register("getStylusHandwritingSessionTimeout", "()Ljava/time/Duration;", "", ApiSince=34)] get; [Android.Runtime.Register("setStylusHandwritingSessionTimeout", "(Ljava/time/Duration;)V", "", ApiSince=34)] set; }
[<get: Android.Runtime.Register("getStylusHandwritingSessionTimeout", "()Ljava/time/Duration;", "", ApiSince=34)>]
[<set: Android.Runtime.Register("setStylusHandwritingSessionTimeout", "(Ljava/time/Duration;)V", "", ApiSince=34)>]
member this.StylusHandwritingSessionTimeout : Java.Time.Duration with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the duration after which an ongoing stylus handwriting session that hasn't received new MotionEvents will time out and #finishStylusHandwriting() will be called. The current timeout can be changed using #setStylusHandwritingSessionTimeout(Duration).

Java documentation for android.inputmethodservice.InputMethodService.getStylusHandwritingSessionTimeout().

Property setter documentation:

Sets the duration after which an ongoing stylus handwriting session that hasn't received new MotionEvents will time out and #finishStylusHandwriting() will be called.

The maximum allowed duration is returned by #getStylusHandwritingIdleTimeoutMax(), larger values will be clamped.

Note: this value is bound to the InputMethodService instance and resets to the default whenever a new instance is constructed.

Java documentation for android.inputmethodservice.InputMethodService.setStylusHandwritingSessionTimeout(java.time.Duration).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to