KindlyEventState

public struct KindlyEventState

State data for events

  • Whether the chat is currently displayed

    Declaration

    Swift

    public let isChatDisplayed: Bool
  • Whether the SDK has been started

    Declaration

    Swift

    public let isStarted: Bool
  • Whether the socket is connected to Pusher

    Declaration

    Swift

    public let isSocketConnected: Bool
  • Whether the SDK is fully connected (started + socket connected)

    Declaration

    Swift

    public let isConnected: Bool
  • Current connection state as string

    Declaration

    Swift

    public let connectionState: String
  • Undocumented

    Declaration

    Swift

    public init(
    	isChatDisplayed: Bool,
    	isStarted: Bool,
    	isSocketConnected: Bool,
    	isConnected: Bool,
    	connectionState: String
    )