Partager via


PackageManager.GetAllPermissionGroups(PackageInfoFlags) Method

Definition

Retrieve all of the known permission groups in the system.

[Android.Runtime.Register("getAllPermissionGroups", "(I)Ljava/util/List;", "GetGetAllPermissionGroups_IHandler")]
public abstract System.Collections.Generic.IList<Android.Content.PM.PermissionGroupInfo> GetAllPermissionGroups (Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("getAllPermissionGroups", "(I)Ljava/util/List;", "GetGetAllPermissionGroups_IHandler")>]
abstract member GetAllPermissionGroups : Android.Content.PM.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.PermissionGroupInfo>

Parameters

flags
PackageInfoFlags

Additional option flags to modify the data returned.

Returns

Returns a list of PermissionGroupInfo containing information about all of the known permission groups.

Attributes

Remarks

Retrieve all of the known permission groups in the system.

Java documentation for android.content.pm.PackageManager.getAllPermissionGroups(int).

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