CallTap
Represents a current or past tapping of a call. You can obtain instances of this class by starting a Tap with one of the following methods:
Example
As soon as the other party answers the phone, start transmitting the audio of the call to an external service.
Properties
id
The unique id for this tapping.
Syntax: CallTap.id()
Returns: string
Methods
ended
- ended():
Promise<CallTap>- SeeCallTapfor more details.
Returns a promise that is resolved only after this tap finishes (or is stopped).
Returns
Promise<CallTap> - See CallTap for more details.
Example
stop
- stop():
Promise<CallTap>- SeeCallTapfor more details.
Stops the tapping.
Returns
Promise<CallTap> - See CallTap for more details.