ContentResolver.RequestSync メソッド

定義

オーバーロード

名前 説明
RequestSync(SyncRequest)

SyncManager に同期を登録します。

RequestSync(Account, String, Bundle)

非同期同期操作を開始します。

RequestSync(SyncRequest)

SyncManager に同期を登録します。

[Android.Runtime.Register("requestSync", "(Landroid/content/SyncRequest;)V", "")]
public static void RequestSync(Android.Content.SyncRequest? request);
[<Android.Runtime.Register("requestSync", "(Landroid/content/SyncRequest;)V", "")>]
static member RequestSync : Android.Content.SyncRequest -> unit

パラメーター

request
SyncRequest
属性

注釈

SyncManager に同期を登録します。 これらの要求は、 SyncRequest.Builderを使用して構築されます。

Javaドキュメント。

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

適用対象

RequestSync(Account, String, Bundle)

非同期同期操作を開始します。

[Android.Runtime.Register("requestSync", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)V", "")]
public static void RequestSync(Android.Accounts.Account? account, string? authority, Android.OS.Bundle? extras);
[<Android.Runtime.Register("requestSync", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)V", "")>]
static member RequestSync : Android.Accounts.Account * string * Android.OS.Bundle -> unit

パラメーター

account
Account

どのアカウントを同期する必要がありますか

authority
String

どの機関を同期する必要がありますか

extras
Bundle

SyncAdapter に渡す追加データ。

属性

注釈

非同期同期操作を開始します。 同期の進行状況を監視する場合は、SyncObserver を登録できます。 extras バンドルで使用できるのは、extras バンドルの値 (<ul><li>Integer</li><li>Long</li><li>Boolean</li><li) のみです>><Float</li><li>Double</li><li>String</li><li>Account</lili>null</li></ul>

Javaドキュメント。

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

適用対象