Skip to main content

SignalWire.Relay.Calling.CallMedia.RingtoneParams

This object represents the parameters specific to ringtone media.

Constructor​

The only constructor is the default constructor, properties should all be assigned by initializer or after construction.

Parameters

None

Examples

Basic Example

CallMedia media = new CallMedia
{
Type = CallMedia.MediaType.ringtone,
Parameters = new CallMedia.RingtoneParams
{
Name = "us",
Duration = 5.0
}
};

Properties​

PropertyTypeDescription
NamestringThe name of the ringtone to play, based on short country codes.
Values: at au bg br be ch cl cn cz de dk ee es fi fr gr hu il in it lt jp
mx my nl no nz ph pl pt ru se sg th uk us tw ve za
Durationdouble?How long to play the ringtone in seconds.
Default: null, which plays one full ring iteration

Methods​

None

Events​

None