SignalWire.Relay.Calling.FaxAction
This object returned from [FaxReceiveAsync] and FaxSendAsync methods that represents a fax operation that is currently active on a call.
Properties​
| Property | Type | Description |
|---|---|---|
ControlID | string | The identifier used to control the operation. |
Result | SignalWire.Relay.Calling.FaxResult | Final result of the fax operation. |
Completed | bool | Whether the fax operation has completed. |
Payload | SignalWire.Relay.Calling.SendFaxPayload | Payload sent to FaxSend to perform a fax operation. This field will be null for receive fax operations. |
Methods​
Stop​
Stop the action immediately.
Parameters
None
Returns
SignalWire.Relay.Calling.StopResult - The result object to interact with.
Examples
Start listening for faxes and stop it after 5 seconds.
FaxAction actionFax = call.FaxReceiveAsync();
Thread.Sleep(5000);
StopResult resultStop = actionFax.Stop();