Notification.Vibrate Property
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.
This field was deprecated in API level 26.
[Android.Runtime.Register("vibrate")]
public long[] Vibrate { get; set; }
[<Android.Runtime.Register("vibrate")>]
member this.Vibrate : int64[] with get, set
Property Value
The legacy vibration pattern, expressed as alternating wait and vibration durations in milliseconds, or null if no pattern is set.
- Attributes
Remarks
This field was deprecated in API level 26. use NotificationChannel.getVibrationPattern().
The pattern with which to vibrate. To vibrate the default pattern, see defaults. Getting or setting this property copies the array; assign the property again to apply changes to a retrieved array.
Android reference for android.app.Notification.vibrate.
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.