How to achieve AlarmApplicationManager AlarmAccessStatus as AllowedWithWakeupCapability?

158 views Asked by At

The AlarmApplicationManager provides a method RequestAccessAsync() to request permission from the user to be set as an alarm app. This seems to generate a dialog with Yes and No buttons. If the user taps on No, the value returned is Denied and when user taps Yes , the value seems to be AllowedWithoutWakeupCapability. But this link explains that it can return 4 values including AllowedWithWakeupCapability. How can I achieve AllowedWithWakeupCapability so that the device can wake up from sleep mode when alarm time is reached?

0

There are 0 answers