Dela via


Notification.Builder.SetVibrate(Int64[]) Method

Definition

Set the alert vibration pattern to use.

[Android.Runtime.Register("setVibrate", "([J)Landroid/app/Notification$Builder;", "GetSetVibrate_arrayJHandler")]
public virtual Android.App.Notification.Builder? SetVibrate (long[]? pattern);
[<Android.Runtime.Register("setVibrate", "([J)Landroid/app/Notification$Builder;", "GetSetVibrate_arrayJHandler")>]
abstract member SetVibrate : int64[] -> Android.App.Notification.Builder
override this.SetVibrate : int64[] -> Android.App.Notification.Builder

Parameters

pattern
Int64[]

An array of longs of times for which to turn the vibrator on or off.

Returns

Attributes

Remarks

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

See also