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


Intent.ActionViewPermissionUsage Field

Definition

Activity action: Launch UI to show information about the usage of a given permission group.

[Android.Runtime.Register("ACTION_VIEW_PERMISSION_USAGE", ApiSince=30)]
[Android.Runtime.RequiresPermission("android.permission.START_VIEW_PERMISSION_USAGE")]
public const string ActionViewPermissionUsage;
[<Android.Runtime.Register("ACTION_VIEW_PERMISSION_USAGE", ApiSince=30)>]
[<Android.Runtime.RequiresPermission("android.permission.START_VIEW_PERMISSION_USAGE")>]
val mutable ActionViewPermissionUsage : string

Field Value

Implements

Attributes

Remarks

Activity action: Launch UI to show information about the usage of a given permission group. This action would be handled by apps that want to show details about how and why given permission group is being used.

<strong>Important:</strong>You must protect the activity that handles this action with the android.Manifest.permission#START_VIEW_PERMISSION_USAGE START_VIEW_PERMISSION_USAGE permission to ensure that only the system can launch this activity. The system will not launch activities that are not properly protected.

Input: #EXTRA_PERMISSION_GROUP_NAME specifies the permission group for which the launched UI would be targeted.

Output: Nothing.

Java documentation for android.content.Intent.ACTION_VIEW_PERMISSION_USAGE.

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