Lenguaje

PackageInstaller.SessionParams.PermissionStateDefault Campo

Definición

Precaución

This constant will be removed in the future version. Use Android.Content.PM.PackageInstallerPermissionState enum directly instead of this field.

El instalador pasa el valor para #setPermissionState(String, int) establecer el estado de un permiso.

[Android.Runtime.Register("PERMISSION_STATE_DEFAULT", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageInstallerPermissionState enum directly instead of this field.", true)]
public const Android.Content.PM.PackageInstallerPermissionState PermissionStateDefault = 0;
[<Android.Runtime.Register("PERMISSION_STATE_DEFAULT", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageInstallerPermissionState enum directly instead of this field.", true)>]
val mutable PermissionStateDefault : Android.Content.PM.PackageInstallerPermissionState

Valor de campo

Value = 0

Implementaciones

Atributos

Comentarios

El instalador pasa el valor para #setPermissionState(String, int) establecer el estado de un permiso. Esto indica ninguna preferencia por el instalador, basándose en la directiva predeterminada del dispositivo para establecer el estado de concesión del permiso.

Java documentación para android.content.pm.PackageInstaller.SessionParams.PERMISSION_STATE_DEFAULT.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a