Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IClient

Hierarchy

  • IClient

Index

Methods

attendedTransfer

  • attendedTransfer(a: object, b: object): Promise<boolean>
  • Parameters

    • a: object
    • b: object

    Returns Promise<boolean>

close

  • close(): Promise<void>

connect

  • connect(): Promise<boolean>

createPublisher

  • createPublisher(contact: string, options: PublisherOptions): Publisher
  • Parameters

    • contact: string
    • options: PublisherOptions

    Returns Publisher

disconnect

  • disconnect(): Promise<void>

getSession

getSessions

invite

  • invite(uri: string): Promise<ISession>

isConnected

  • isConnected(): boolean

on

  • on(event: "invite", listener: function): this
  • on(event: "subscriptionNotify", listener: function): this
  • on(event: "sessionAdded", listener: function): this
  • on(event: "sessionRemoved", listener: function): this
  • Parameters

    • event: "invite"
    • listener: function

    Returns this

  • Parameters

    • event: "subscriptionNotify"
    • listener: function
        • (contact: string, status: string): void
        • Parameters

          • contact: string
          • status: string

          Returns void

    Returns this

  • Parameters

    • event: "sessionAdded"
    • listener: function
        • (__namedParameters: object): void
        • Parameters

          • __namedParameters: object

          Returns void

    Returns this

  • Parameters

    • event: "sessionRemoved"
    • listener: function
        • (__namedParameters: object): void
        • Parameters

          • __namedParameters: object

          Returns void

    Returns this

reconfigure

subscribe

  • subscribe(uri: string): Promise<void>
  • Parameters

    • uri: string

    Returns Promise<void>

unsubscribe

  • unsubscribe(uri: string): void
  • Parameters

    • uri: string

    Returns void

Generated using TypeDoc