共用方式為


VibrationAttributes.Usage Property

Definition

Return the vibration usage.

public int Usage { [Android.Runtime.Register("getUsage", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getUsage", "()I", "", ApiSince=30)>]
member this.Usage : int

Property Value

one of the values that can be set in Builder#setUsage(int)

Attributes

Remarks

Return the vibration usage.

Java documentation for android.os.VibrationAttributes.getUsage().

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