共用方式為


CoreWebView2Notification.VibrationPattern Property

Definition

Gets the vibration pattern for devices with vibration hardware to emit.

public System.Collections.Generic.IReadOnlyList<ulong> VibrationPattern { get; }
member this.VibrationPattern : System.Collections.Generic.IReadOnlyList<uint64>
Public ReadOnly Property VibrationPattern As IReadOnlyList(Of ULong)

Property Value

Remarks

The vibration pattern can be represented by an array of 64-bit unsigned integers describing a pattern of vibrations and pauses. See

Vibration API for more information. This corresponds to

Notification.vibrate DOM API. An empty list is returned if no vibration patterns are specified.

Applies to