Package apple.cloudkit.enums
Class CKSyncEngineAccountChangeType
- java.lang.Object
-
- apple.cloudkit.enums.CKSyncEngineAccountChangeType
-
public final class CKSyncEngineAccountChangeType extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longSignInThe user signed in to an account.static longSignOutThe user signed out of their account.static longSwitchAccountsThe user switched from one account to another.
-
-
-
Field Detail
-
SignIn
public static final long SignIn
The user signed in to an account. If you already have data stored locally, you have a few options: - Merge the local data with the newly-signed-in account's data. - Keep the local data separate from cloud-synced data (e.g. a separate "local account"). - Delete the local data. - Prompt the user to make the decision.- See Also:
- Constant Field Values
-
SignOut
public static final long SignOut
The user signed out of their account. You should delete any locally-stored data for the previous account.- See Also:
- Constant Field Values
-
SwitchAccounts
public static final long SwitchAccounts
The user switched from one account to another. This might happen if the user signs out and in to a new account while your application is quit. You should delete any locally-stored data for the previous account.- See Also:
- Constant Field Values
-
-