InputMethodService.StylusHandwritingSessionTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the duration after which an ongoing stylus handwriting session that hasn't received
new MotionEvent
s will time out and #finishStylusHandwriting()
will be called. -or- Sets the duration after which an ongoing stylus handwriting session that hasn't received new
MotionEvent
s 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 MotionEvent
s will time out and #finishStylusHandwriting()
will be called. The current timeout can be changed using #setStylusHandwritingSessionTimeout(Duration)
.
Property setter documentation:
Sets the duration after which an ongoing stylus handwriting session that hasn't received new MotionEvent
s 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.
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.