PackageManager.GetPlatformPermissionsForGroup Method
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.
Get the platform-defined permissions which belong to a particular permission group.
[Android.Runtime.Register("getPlatformPermissionsForGroup", "(Ljava/lang/String;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetGetPlatformPermissionsForGroup_Ljava_lang_String_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=31)]
public virtual void GetPlatformPermissionsForGroup (string permissionGroupName, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("getPlatformPermissionsForGroup", "(Ljava/lang/String;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetGetPlatformPermissionsForGroup_Ljava_lang_String_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=31)>]
abstract member GetPlatformPermissionsForGroup : string * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
override this.GetPlatformPermissionsForGroup : string * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
Parameters
- permissionGroupName
- String
the permission group whose permissions are desired
- executor
- IExecutor
the Executor
on which to invoke the callback
- callback
- IConsumer
the callback which will receive a list of the platform-defined permissions in the group, or empty if the group is not a valid platform-defined permission group, or there was an exception
- Attributes
Remarks
Get the platform-defined permissions which belong to a particular permission group.
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.