PlayMediaAction

View as Markdown

Relay.Calling.PlayMediaAction

This object represents a media action that is currently active on a call.

Properties

NameTypeDescription
callRelay.Calling.CallThis is the call the action is occurring on.

Methods

stop()

Stop the action immediately.

Parameters

None

Returns

Examples

Play an audio file and stop it if Agent is not available.