Call class
Constructors
- Call()
-
factory
Properties
- customParameters → dynamic
-
Get customParameters from Twilio Call, send via outgoing call or received from incoming call (via TwiML app)
Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callcustomparameters
no setter
- direction → String
-
Get the direction of call, either "INCOMING" or "OUTGOING"
Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#calldirection
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- parameters → dynamic
-
Get customParameters from Twilio Call, send via outgoing call or received from incoming call (via TwiML app)
Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callparameters
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept(
) → void - Accepts a call Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callacceptacceptoptions
-
addListener(
String event, Function callback) → void - Register a listener against Twilio Call object Documentation: https://nodejs.org/api/events.html#events_emitter_addlistener_eventname_listener Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#eventemitter-methods-and-properties
-
disconnect(
) → void - Disconnect active Twilio Call. Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#calldisconnect
-
ignore(
) → void - Ignore placed call, does not alert dialing party. Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callignore
-
isMuted(
) → bool - Is active Twilio Call muted Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callismuted
-
mute(
bool shouldMute) → void - Mute active Twilio Call, defaults to true Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callmuteshouldmute
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off(
String event, Function callback) → void - Deattach event listener for Twilio Call object. See TwilioCallEvents Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#events possibly use js interop here
-
on(
String event, Function callback) → void - Attach event listener for Twilio Call object. See TwilioCallEvents Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#events possibly use js interop here
-
reject(
) → void - Reject incoming call Twilio Call. Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callreject
-
removeListener(
String event, Function callback) → void - Deregister a listener against Twilio Call object Documentation: https://nodejs.org/api/events.html#events_emitter_removelistener_eventname_listener Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#eventemitter-methods-and-properties
-
sendDigits(
String digits) → void - Send digits to active Twilio Call Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callsenddigitsdigits
-
status(
) → String -
Get current call status, see
TwilioCallStatus
Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#callstatus -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited