AbstractThreadedSyncAdapter コンストラクター

定義

オーバーロード

名前 説明
AbstractThreadedSyncAdapter(Context, Boolean)

AbstractThreadedSyncAdapter を作成します。

AbstractThreadedSyncAdapter(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

AbstractThreadedSyncAdapter(Context, Boolean, Boolean)

AbstractThreadedSyncAdapter を作成します。

AbstractThreadedSyncAdapter(Context, Boolean)

AbstractThreadedSyncAdapter を作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Z)V", "")]
public AbstractThreadedSyncAdapter(Android.Content.Context? context, bool autoInitialize);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Z)V", "")>]
new Android.Content.AbstractThreadedSyncAdapter : Android.Content.Context * bool -> Android.Content.AbstractThreadedSyncAdapter

パラメーター

context
Context

これが実行されている android.content.Context

autoInitialize
Boolean

true の場合、ContentResolver#SYNC_EXTRAS_INITIALIZEが設定されている同期要求は、現在 <0 に設定されている場合は 1 でContentResolver#setIsSyncable(android.accounts.Account, String, int)を呼び出すことによって、AbstractThreadedSyncAdapterによって内部的に処理されます。

属性

注釈

AbstractThreadedSyncAdapter を作成します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

AbstractThreadedSyncAdapter(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

protected AbstractThreadedSyncAdapter(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.AbstractThreadedSyncAdapter : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.AbstractThreadedSyncAdapter

パラメーター

javaReference
IntPtr

nativeint

Java ネイティブ インターフェイス (JNI) オブジェクト参照を含むIntPtr

transfer
JniHandleOwnership

JniHandleOwnership処理方法を示すjavaReference

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

AbstractThreadedSyncAdapter(Context, Boolean, Boolean)

AbstractThreadedSyncAdapter を作成します。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;ZZ)V", "")]
public AbstractThreadedSyncAdapter(Android.Content.Context? context, bool autoInitialize, bool allowParallelSyncs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;ZZ)V", "")>]
new Android.Content.AbstractThreadedSyncAdapter : Android.Content.Context * bool * bool -> Android.Content.AbstractThreadedSyncAdapter

パラメーター

context
Context

これが実行されている android.content.Context

autoInitialize
Boolean

true の場合、ContentResolver#SYNC_EXTRAS_INITIALIZEが設定されている同期要求は、現在 <0 に設定されている場合は 1 でContentResolver#setIsSyncable(android.accounts.Account, String, int)を呼び出すことによって、AbstractThreadedSyncAdapterによって内部的に処理されます。

allowParallelSyncs
Boolean

true の場合、異なるアカウントの同期をそれぞれ独自のスレッドで同時に実行できます。 これは、SyncAdapter の構成ファイルの設定と一致している必要があります。

属性

注釈

AbstractThreadedSyncAdapter を作成します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象