다음을 통해 공유


UiAutomation.RevokeRuntimePermission(String, String) Method

Definition

Revokes a runtime permission from a package.

[Android.Runtime.Register("revokeRuntimePermission", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=28)]
public void RevokeRuntimePermission (string? packageName, string? permission);
[<Android.Runtime.Register("revokeRuntimePermission", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=28)>]
member this.RevokeRuntimePermission : string * string -> unit

Parameters

packageName
String

The package to which to grant.

permission
String

The permission to grant.

Attributes

Remarks

Revokes a runtime permission from a package.

Java documentation for android.app.UiAutomation.revokeRuntimePermission(java.lang.String, java.lang.String).

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