Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JanusSession

Hierarchy

  • JanusSession

Index

Constructors

Properties

instance: Janus

Methods

  • attach<Type>(classToCreate: new (...args: any) => Type, options: Pick<PluginOptions, "opaqueId">): Promise<Type>
  • Type parameters

    Parameters

    • classToCreate: new (...args: any) => Type
        • new (...args: any): Type
        • Parameters

          • Rest ...args: any

          Returns Type

    • options: Pick<PluginOptions, "opaqueId">

    Returns Promise<Type>

  • destroy(callbacks: Omit<DestroyOptions, "success" | "error">): Promise<void>
  • Parameters

    • callbacks: Omit<DestroyOptions, "success" | "error">

    Returns Promise<void>

  • getInfo(): Promise<any>
  • getObservableControllers(options: Pick<PluginOptions, "plugin" | "opaqueId">): { controllers: Controllers; finalOptions: PluginOptions }
  • Parameters

    • options: Pick<PluginOptions, "plugin" | "opaqueId">

    Returns { controllers: Controllers; finalOptions: PluginOptions }

    • controllers: Controllers
    • finalOptions: PluginOptions
  • getServer(): string
  • getSessionId(): number
  • isConnected(): boolean
  • reconnect(): Promise<boolean>

Generated using TypeDoc