共用方式為


NotificationChannel.ShouldVibrate Method

Definition

Returns whether notifications posted to this channel always vibrate.

[Android.Runtime.Register("shouldVibrate", "()Z", "", ApiSince=26)]
public bool ShouldVibrate ();
[<Android.Runtime.Register("shouldVibrate", "()Z", "", ApiSince=26)>]
member this.ShouldVibrate : unit -> bool

Returns

Attributes

Remarks

Returns whether notifications posted to this channel always vibrate.

Java documentation for android.app.NotificationChannel.shouldVibrate().

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