次の方法で共有


PackageManager.Synchronous フィールド

定義

注意事項

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

コンポーネントの #setComponentEnabledSetting(android.content.ComponentName, int, int) 状態が更新された後、特定のユーザーのパッケージ制限の状態がディスクにシリアル化されることを示すフラグ パラメーター。

[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

フィールド値

Value = 2
属性

注釈

コンポーネントの #setComponentEnabledSetting(android.content.ComponentName, int, int) 状態が更新された後、特定のユーザーのパッケージ制限の状態がディスクにシリアル化されることを示すフラグ パラメーター。 これは同期ディスク アクセスであるため、このフラグを使用する呼び出しはバックグラウンド スレッドで実行する必要があることに注意してください。

の Java ドキュメントandroid.content.pm.PackageManager.SYNCHRONOUS

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象