uid |
---|
Uno.Features.WPDNotification |
Tip
This article covers Uno-specific information for the Windows.Phone.Devices.Notification
namespace. For a full description of the feature and instructions on using it, see Windows.Phone.Devices.Notification Namespace.
- The
Windows.Phone.Devices.Notification.VibrationDevice
allows for managing the vibration device on the phone.
For Android, there is one permission you must configure before using this API in your project. To do that, add the following to AndroidManifest.xml
:
<uses-permission android:name="android.permission.VIBRATE" />
- 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.
- The
VibrationDevice
class is only available in the UWP-head if theWindows.Mobile.Extensions for the UWP
is added to the project.