Megosztás a következőn keresztül:


Settings.ActionNotificationListenerDetailSettings Field

Definition

Activity Action: Show notification listener permission settings page for app.

[Android.Runtime.Register("ACTION_NOTIFICATION_LISTENER_DETAIL_SETTINGS", ApiSince=30)]
public const string ActionNotificationListenerDetailSettings;
[<Android.Runtime.Register("ACTION_NOTIFICATION_LISTENER_DETAIL_SETTINGS", ApiSince=30)>]
val mutable ActionNotificationListenerDetailSettings : string

Field Value

Attributes

Remarks

Activity Action: Show notification listener permission settings page for app.

Users can grant and deny access to notifications for a ComponentName from here. See android.app.NotificationManager#isNotificationListenerAccessGranted(ComponentName) for more details.

Input: The extra #EXTRA_NOTIFICATION_LISTENER_COMPONENT_NAME containing the name of the component to grant or revoke notification listener access to.

Output: Nothing.

Java documentation for android.provider.Settings.ACTION_NOTIFICATION_LISTENER_DETAIL_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.

Applies to