Settings.ActionNotificationPolicyAccessSettings Field
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.
Activity Action: Show Do Not Disturb access settings.
[Android.Runtime.Register("ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS", ApiSince=23)]
public const string ActionNotificationPolicyAccessSettings;
[<Android.Runtime.Register("ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS", ApiSince=23)>]
val mutable ActionNotificationPolicyAccessSettings : string
Field Value
- Attributes
Remarks
Activity Action: Show Do Not Disturb access settings.
Users can grant and deny access to Do Not Disturb configuration from here. Managed profiles cannot grant Do Not Disturb access. See android.app.NotificationManager#isNotificationPolicyAccessGranted()
for more details.
Input: Nothing.
Output: Nothing.
<p class="note"> In some cases, a matching Activity may not exist, so ensure you safeguard against this.
Java documentation for android.provider.Settings.ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS
.
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.