PackageManager.GetGroupOfPlatformPermission 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 permission group of a particular permission, if the permission is a platform-defined permission.
[Android.Runtime.Register("getGroupOfPlatformPermission", "(Ljava/lang/String;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetGetGroupOfPlatformPermission_Ljava_lang_String_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=31)]
public virtual void GetGroupOfPlatformPermission (string permissionName, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("getGroupOfPlatformPermission", "(Ljava/lang/String;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetGetGroupOfPlatformPermission_Ljava_lang_String_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=31)>]
abstract member GetGroupOfPlatformPermission : string * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
override this.GetGroupOfPlatformPermission : string * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
Parameters
- permissionName
- String
the permission whose group is desired
- executor
- IExecutor
the Executor
on which to invoke the callback
- callback
- IConsumer
the callback which will receive the name of the permission group this
permission belongs to, or null
if it has no group, is not a
platform-defined permission, or there was an exception
- Attributes
Remarks
Get the platform-defined permission group of a particular permission, if the permission is a platform-defined permission.
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.