State

public enum State : Int

State is used to indicate the current state of a chat room.

  • Initial state.

    Declaration

    Swift

    case None = 0
  • Chat room is now instantiated on local.

    Declaration

    Swift

    case Instantiated = 1
  • One creation request was sent to the server.

    Declaration

    Swift

    case CreationPending = 2
  • Chat room was created on the server.

    Declaration

    Swift

    case Created = 3
  • Chat room creation failed.

    Declaration

    Swift

    case CreationFailed = 4
  • Wait for chat room termination.

    Declaration

    Swift

    case TerminationPending = 5
  • Chat room exists on server but not in local.

    Declaration

    Swift

    case Terminated = 6
  • The chat room termination failed.

    Declaration

    Swift

    case TerminationFailed = 7
  • Chat room was deleted on the server.

    Declaration

    Swift

    case Deleted = 8