Methods
attendedTransfer
- attendedTransfer(a: object, b: object): Promise<boolean>
-
Parameters
Returns Promise<boolean>
connect
- connect(): Promise<boolean>
createPublisher
- createPublisher(contact: string, options: PublisherOptions): Publisher
-
Parameters
-
contact: string
-
options: PublisherOptions
Returns Publisher
disconnect
- disconnect(): Promise<void>
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
-
Parameters
Returns Promise<void>
subscribe
- subscribe(uri: string): Promise<void>
-
Parameters
Returns Promise<void>
unsubscribe
- unsubscribe(uri: string): void