ContentResolver.RemovePeriodicSync(Account, String, Bundle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除週期性同步。
[Android.Runtime.Register("removePeriodicSync", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)V", "")]
public static void RemovePeriodicSync(Android.Accounts.Account? account, string? authority, Android.OS.Bundle? extras);
[<Android.Runtime.Register("removePeriodicSync", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)V", "")>]
static member RemovePeriodicSync : Android.Accounts.Account * string * Android.OS.Bundle -> unit
參數
- account
- Account
週期同步的帳目
- authority
- String
週期同步的提供者會移除
- extras
- Bundle
週期同步的額外部分要移除
- 屬性
備註
移除週期性同步。如果帳號、權限和額外內容與現有的定期同步不符,則不會有影響。
此方法要求呼叫者持有權限 android.Manifest.permission#WRITE_SYNC_SETTINGS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。