共用方式為


VibrationAttributes.CreateForUsage(Int32) Method

Definition

Creates a new VibrationAttributes instance with given usage.

[Android.Runtime.Register("createForUsage", "(I)Landroid/os/VibrationAttributes;", "", ApiSince=33)]
public static Android.OS.VibrationAttributes CreateForUsage (int usage);
[<Android.Runtime.Register("createForUsage", "(I)Landroid/os/VibrationAttributes;", "", ApiSince=33)>]
static member CreateForUsage : int -> Android.OS.VibrationAttributes

Parameters

usage
Int32

Returns

Attributes

Remarks

Creates a new VibrationAttributes instance with given usage.

Java documentation for android.os.VibrationAttributes.createForUsage(int).

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