Class CKSyncEngineAccountChangeType


  • public final class CKSyncEngineAccountChangeType
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long SignIn
      The user signed in to an account.
      static long SignOut
      The user signed out of their account.
      static long SwitchAccounts
      The user switched from one account to another.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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