AsyncOpenState

public enum AsyncOpenState

An enum representing different states from AsyncOpen and AutoOpen process

  • Starting the Realm.asyncOpen process.

    Declaration

    Swift

    case connecting
  • Waiting for a user to be logged in before executing Realm.asyncOpen.

    Declaration

    Swift

    case waitingForUser
  • The Realm has been opened and is ready for use. For AsyncOpen this means that the Realm has been fully downloaded, but for AutoOpen the existing local file may have been used if the device is offline.

    Declaration

    Swift

    case open(Realm)
  • The Realm is currently being downloaded from the server.

    Declaration

    Swift

    case progress(Progress)
  • Opening the Realm failed.

    Declaration

    Swift

    case error(Error)