Skip to content

Commit

Permalink
Merge pull request #18964 from unoplatform/dev/doti/winui-vibration-l…
Browse files Browse the repository at this point in the history
…imitation

docs: Mention WinUI Vibration limitation
  • Loading branch information
jeromelaban authored Nov 29, 2024
2 parents 2008485 + 85bde7f commit f1522b6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ For Android, there is one permission you must configure before using this API in
- The `Cancel` method is not supported.
- The parameter of the `Vibrate(TimeSpan)` method is not taken into account - iOS supports only a default vibration duration.

#### WinUI

- The `Windows.Phone.Devices.Notification` namespace is no longer supported in WinUI.
- Developers should use the [Windows.Devices.Haptics](xref:Uno.Features.WDHaptics) namespace for vibration functionality.

#### UWP

- The `VibrationDevice` class is only available in the UWP-head if the `Windows.Mobile.Extensions for the UWP` is added to the project.

0 comments on commit f1522b6

Please sign in to comment.