ContentResolver.MasterSyncAutomatically 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
它會獲得適用於所有供應商和帳戶的全域自動同步設定。 -或- 設定適用於所有供應商和帳戶的全域自動同步設定。
public static bool MasterSyncAutomatically { [Android.Runtime.Register("getMasterSyncAutomatically", "()Z", "")] get; [Android.Runtime.Register("setMasterSyncAutomatically", "(Z)V", "")] set; }
[<get: Android.Runtime.Register("getMasterSyncAutomatically", "()Z", "")>]
[<set: Android.Runtime.Register("setMasterSyncAutomatically", "(Z)V", "")>]
static member MasterSyncAutomatically : bool with get, set
屬性值
適用於所有供應商和帳戶的全域自動同步設定
- 屬性
備註
財產取得者文件:
它會獲得適用於所有供應商和帳戶的全域自動同步設定。 若此值為假,則忽略各提供者自動同步設定。
此方法要求呼叫者持有權限 android.Manifest.permission#READ_SYNC_SETTINGS。
Java 文件 android.content.ContentResolver.getMasterSyncAutomatically()。
屬性設定文件:
設定全域自動同步設定,適用於所有提供者和帳戶。 若此值為假,則忽略各提供者自動同步設定。
此方法要求呼叫者持有權限 android.Manifest.permission#WRITE_SYNC_SETTINGS。
Java 文件 android.content.ContentResolver.setMasterSyncAutomatically(boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。