Language

GestureDescription.Builder.Build Method

Definition

Creates a gesture description from the strokes and display selected in this builder.

[Android.Runtime.Register("build", "()Landroid/accessibilityservice/GestureDescription;", "GetBuildHandler", ApiSince=24)]
public virtual Android.AccessibilityServices.GestureDescription? Build();
[<Android.Runtime.Register("build", "()Landroid/accessibilityservice/GestureDescription;", "GetBuildHandler", ApiSince=24)>]
abstract member Build : unit -> Android.AccessibilityServices.GestureDescription
override this.Build : unit -> Android.AccessibilityServices.GestureDescription

Returns

The gesture description containing the added strokes and the selected display identifier.

Attributes

Remarks

Add at least one stroke before calling this method. Android throws IllegalStateException if the builder has no strokes.

Android gesture builder implementation.

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