Share via


PackageInstaller.SessionParams.SetPermissionState Method

Definition

[Android.Runtime.Register("setPermissionState", "(Ljava/lang/String;I)Landroid/content/pm/PackageInstaller$SessionParams;", "GetSetPermissionState_Ljava_lang_String_IHandler", ApiSince=34)]
public virtual Android.Content.PM.PackageInstaller.SessionParams SetPermissionState (string permissionName, Android.Content.PM.PackageInstallerPermissionState state);
[<Android.Runtime.Register("setPermissionState", "(Ljava/lang/String;I)Landroid/content/pm/PackageInstaller$SessionParams;", "GetSetPermissionState_Ljava_lang_String_IHandler", ApiSince=34)>]
abstract member SetPermissionState : string * Android.Content.PM.PackageInstallerPermissionState -> Android.Content.PM.PackageInstaller.SessionParams
override this.SetPermissionState : string * Android.Content.PM.PackageInstallerPermissionState -> Android.Content.PM.PackageInstaller.SessionParams

Parameters

permissionName
String

Returns

Attributes

Applies to