NotifyAction - addPlay()

Play an audio file on the call.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
PlayAction The action added to the NotifyAction object. Use the PlayAction object to define the audio file URL and number of times to loop the audio.

// instantiate NotifyAction
var notifyAction = new SNC.NotifyAction();

// add a play action
var play = notifyAction.addPlay();