Most visited

Recently visited

Added in API level 24

GestureDescription.Builder

public static class GestureDescription.Builder
extends Object

java.lang.Object
   ↳ android.accessibilityservice.GestureDescription.Builder


建设者为 GestureDescription

Summary

Public constructors

GestureDescription.Builder()

Public methods

GestureDescription.Builder addStroke(GestureDescription.StrokeDescription strokeDescription)

为手势描述添加描边。

GestureDescription build()

Inherited methods

From class java.lang.Object

Public constructors

GestureDescription.Builder

Added in API level 24
GestureDescription.Builder ()

Public methods

addStroke

Added in API level 24
GestureDescription.Builder addStroke (GestureDescription.StrokeDescription strokeDescription)

为手势描述添加描边。 可以将多达getMaxStrokeCount()条路径添加到手势,并且总手势持续时间(最早路径开始时间到最近路径结束时间)不得超过getMaxGestureDuration()

Parameters
strokeDescription GestureDescription.StrokeDescription: the stroke to add.
Returns
GestureDescription.Builder this

build

Added in API level 24
GestureDescription build ()

Returns
GestureDescription

Hooray!