Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Readonly __constructorName

__constructorName: string

config

currentClient

currentClient: InnerWeChatGuest

最新创建的WeChatGuest对象

listenerMap

listenerMap: Record<EventTargetType, IEventListenerObject[]>

Readonly reporter

reporter: Reporter

Static DEFAULT_EVENT_LISTENER_OPTIONS

DEFAULT_EVENT_LISTENER_OPTIONS: EventListenerOptions

Static IGNORE_FUNCTION_MEMBER

IGNORE_FUNCTION_MEMBER: PropertyKey[]

Static reporterManager

reporterManager: ReporterManager

Accessors

firstClientCreated

  • get firstClientCreated(): Promise<void>
  • Returns Promise<void>

Methods

addEventListener

addEventListeners

clearListener

  • clearListener(): void

createConferenceClient

createGuestClient

  • createGuestClient(appKey: string, token: string, socketAddress?: string): InnerWeChatGuest
  • Parameters

    • appKey: string
    • token: string
    • Optional socketAddress: string

    Returns InnerWeChatGuest

createWebSocketClient

dispatchEvent

  • dispatchEvent(event: Event): boolean

dispatchEventLite

getToken

  • getToken(url?: string): Promise<string>
  • 获取用于校验的token

    token应由集成方从第三方接口获取, 该接口只作为集成测试使用.

    Parameters

    • Optional url: string

      获取token的地址

    Returns Promise<string>

getVersion

  • getVersion(): Record<string, unknown>

hasListener

removeEventListener

setConfig

toString

  • toString(): string

Generated using TypeDoc