on method

  1. @JS("on")
void on(
  1. String event,
  2. Function callback
)

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

Implementation

@JS("on")
external void on(String event, Function callback);