Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ConnectionHandlerParams
    • ConnectionHandler

Index

Properties

onConnected?: (() => void)

Type declaration

    • (): void
    • The device that successfully connected to the server

      Returns void

onConnecting?: (() => void)

Type declaration

    • (): void
    • The device is connecting to the server

      Returns void

onDisconnected?: ((code: ErrorCode) => void)

Type declaration

    • The device is disconnected from the server,

      Parameters

      Returns void

onSuspended?: (() => void)

Type declaration

    • (): void
    • The link is abnormally disconnected, the SDK automatically reconnects to the server

      Returns void

Constructors

  • Parameters

    • Optional params: ConnectionHandlerParams

    Returns ConnectionHandler