CallTap

View as Markdown

SignalWire.Relay.Calling.CallTap

This object represents a call tap that is being handled. Currently only audio tapping is available.

Constructor

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

Parameters

None

Examples

Basic Example

1CallTap tap = new CallTap
2{
3 Type = CallTap.TapType.audio,
4 Parameters = new CallTap.AudioParams
5 {
6 // Use default audio tapping parameters
7 }
8};

Properties

PropertyTypeDescription
TypeSignalWire.Relay.Calling.CallTap.TapTypeThis object indicates the type of the configuration object.
ParametersobjectThe configuration object for the operation.

Methods

ParametersAs<T>()

This is a helper method to convert the Parameters to the real type.

Parameters

ParameterTypeRequiredDescription
TTyperequiredThis is the data type for the conversion, see SignalWire.Relay.Calling.CallTap.TapType for more information.

Returns

T - This is an instance of the data type resulting from the conversion, see SignalWire.Relay.Calling.CallTap.TapType for more information.

Examples

1CallTap.AudioParams audioParams = tap.ParametersAs<CallTap.AudioParams>();

Events

None