Sdílet prostřednictvím


NotificationChannel.GetVibrationPattern Method

Definition

Returns the vibration pattern for notifications posted to this channel.

[Android.Runtime.Register("getVibrationPattern", "()[J", "", ApiSince=26)]
public long[]? GetVibrationPattern ();
[<Android.Runtime.Register("getVibrationPattern", "()[J", "", ApiSince=26)>]
member this.GetVibrationPattern : unit -> int64[]

Returns

Int64[]
Attributes

Remarks

Returns the vibration pattern for notifications posted to this channel. Will be ignored if vibration is not enabled (#shouldVibrate()).

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

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