Share via


MediaEventReasonCode Struct

Definition

Reason Codes for incoming webhook events.

public readonly struct MediaEventReasonCode : IEquatable<Azure.Communication.CallAutomation.MediaEventReasonCode>
type MediaEventReasonCode = struct
Public Structure MediaEventReasonCode
Implements IEquatable(Of MediaEventReasonCode)
Inheritance
MediaEventReasonCode
Implements

Constructors

MediaEventReasonCode(String)

Initializes a new instance of MediaEventReasonCode.

Properties

CognitiveServicesError

Action failed, cognitive service error.

CompletedSuccessfully

Action completed successfully.

PlayDownloadFailed

Action failed, file could not be downloaded.

PlayInvalidFileFormat

Action failed, invalid file format.

PlaySourceTextOrSsmlEmpty

Action failed, play source text or ssml empty.

RecognizeDtmfOptionMatched

Action failed, play source not working.

RecognizeIncorrectToneDetected

Recognize with Choice that incorrect tone detected.

RecognizeInitialSilenceTimedOut

Action failed, initial silence timeout reached.

RecognizeInterDigitTimedOut

Action failed, inter-digit silence timeout reached.

RecognizeMaxDigitsReceived

Action completed, max digits received.

RecognizePlayPromptFailed

Action failed, encountered failure while trying to play the prompt.

RecognizeSpeechNotRecognized

Speech not recognized.

RecognizeSpeechOptionMatched

Speech option matched.

RecognizeSpeechOptionNotMatched

Speech option not matched.

RecognizeSpeechServiceConnectionError

Speech service connection error.

RecognizeStopToneDetected

Action completed as stop tone was detected.

UnspecifiedError

Unknown internal server error.

Methods

Equals(MediaEventReasonCode)

Indicates whether the current object is equal to another object of the same type.

GetReasonCodeValue()

Retrieves the integer value associated with the specified ReasonCode.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(MediaEventReasonCode, MediaEventReasonCode)

Determines if two MediaEventReasonCode values are the same.

Implicit(String to MediaEventReasonCode)

Converts a string to a MediaEventReasonCode.

Inequality(MediaEventReasonCode, MediaEventReasonCode)

Determines if two MediaEventReasonCode values are not the same.

Applies to