Aracılığıyla paylaş


PackageManager.Synchronous Field

Definition

Caution

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

Flag parameter for #setComponentEnabledSetting(android.content.ComponentName, int, int) to indicate that the given user's package restrictions state will be serialised to disk after the component state has been updated.

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

Field Value

Value = 2
Attributes

Remarks

Flag parameter for #setComponentEnabledSetting(android.content.ComponentName, int, int) to indicate that the given user's package restrictions state will be serialised to disk after the component state has been updated. Note that this is synchronous disk access, so calls using this flag should be run on a background thread.

Java documentation for android.content.pm.PackageManager.SYNCHRONOUS.

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