Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ZegoNetStateMonitor

Index

Properties

Optional cb_

cb_: Function

Optional net_con_

net_con_: connection.NetConnection

Methods

checkNetType

  • checkNetType(netHandle?: connection.NetHandle): void
  • Parameters

    • Optional netHandle: connection.NetHandle

    Returns void

hasBearType

  • hasBearType(bearTypes: connection.NetBearType[], checkType: connection.NetBearType): boolean
  • Parameters

    • bearTypes: connection.NetBearType[]
    • checkType: connection.NetBearType

    Returns boolean

notifyNetTypeChanged

  • notifyNetTypeChanged(nt: number, netHandle?: connection.NetHandle): void
  • Parameters

    • nt: number
    • Optional netHandle: connection.NetHandle

    Returns void

start

  • start(cb?: Function): void
  • Parameters

    • Optional cb: Function

    Returns void

stop

  • stop(): void
  • Returns void

Generated using TypeDoc