UiAutomation.RevokeRuntimePermissionAsUser(String, String, UserHandle) 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.
Revokes a runtime permission from a package.
[Android.Runtime.Register("revokeRuntimePermissionAsUser", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;)V", "", ApiSince=28)]
public void RevokeRuntimePermissionAsUser (string? packageName, string? permission, Android.OS.UserHandle? userHandle);
[<Android.Runtime.Register("revokeRuntimePermissionAsUser", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/UserHandle;)V", "", ApiSince=28)>]
member this.RevokeRuntimePermissionAsUser : string * string * Android.OS.UserHandle -> unit
Parameters
- packageName
- String
The package to which to grant.
- permission
- String
The permission to grant.
- userHandle
- UserHandle
- Attributes
Remarks
Revokes a runtime permission from a package.
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.