NotificationChannel.GetVibrationPattern Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.