Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Call Failed events #41950

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ internal AddParticipantSucceeded() { }
public partial class AnswerCallEventResult
{
internal AnswerCallEventResult() { }
public Azure.Communication.CallAutomation.AnswerFailed FailureResult { get { throw null; } }
public bool IsSuccess { get { throw null; } }
public Azure.Communication.CallAutomation.CallConnected SuccessResult { get { throw null; } }
}
Expand All @@ -63,6 +64,11 @@ internal AnswerCallResult() { }
public Azure.Communication.CallAutomation.AnswerCallEventResult WaitForEventProcessor(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public System.Threading.Tasks.Task<Azure.Communication.CallAutomation.AnswerCallEventResult> WaitForEventProcessorAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
}
public partial class AnswerFailed : Azure.Communication.CallAutomation.CallAutomationEventBase
{
internal AnswerFailed() { }
public static Azure.Communication.CallAutomation.AnswerFailed Deserialize(string content) { throw null; }
}
public partial class AudioData : Azure.Communication.CallAutomation.StreamingData
{
internal AudioData() { }
Expand Down Expand Up @@ -181,6 +187,7 @@ public static partial class CallAutomationModelFactory
public static Azure.Communication.CallAutomation.AddParticipantResult AddParticipantsResult(Azure.Communication.CallAutomation.CallParticipant participant = null, string operationContext = null, string invitationId = null) { throw null; }
public static Azure.Communication.CallAutomation.AddParticipantSucceeded AddParticipantSucceeded(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CommunicationIdentifier participant = null) { throw null; }
public static Azure.Communication.CallAutomation.AnswerCallResult AnswerCallResult(Azure.Communication.CallAutomation.CallConnection callConnection = null, Azure.Communication.CallAutomation.CallConnectionProperties callConnectionProperties = null) { throw null; }
public static Azure.Communication.CallAutomation.AnswerFailed AnswerFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; }
public static Azure.Communication.CallAutomation.CallConnected CallConnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null) { throw null; }
public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties(string callConnectionId = null, string serverCallId = null, System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targets = null, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default(Azure.Communication.CallAutomation.CallConnectionState), System.Uri callbackUri = null, Azure.Communication.CommunicationIdentifier sourceIdentity = null, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = null, string sourceDisplayName = null, Azure.Communication.CommunicationUserIdentifier answeredBy = null, string mediaSubscriptionId = null, string dataSubscriptionId = null) { throw null; }
public static Azure.Communication.CallAutomation.CallDisconnected CallDisconnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null) { throw null; }
Expand All @@ -195,6 +202,7 @@ public static partial class CallAutomationModelFactory
public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionStopped ContinuousDtmfRecognitionStopped(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneFailed ContinuousDtmfRecognitionToneFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; }
public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneReceived ContinuousDtmfRecognitionToneReceived(int? sequenceId = default(int?), Azure.Communication.CallAutomation.DtmfTone? tone = default(Azure.Communication.CallAutomation.DtmfTone?), string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; }
public static Azure.Communication.CallAutomation.CreateCallFailed CreateCallFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; }
public static Azure.Communication.CallAutomation.CreateCallResult CreateCallResult(Azure.Communication.CallAutomation.CallConnection callConnection = null, Azure.Communication.CallAutomation.CallConnectionProperties callConnectionProperties = null) { throw null; }
public static Azure.Communication.CallAutomation.DtmfResult DtmfResult(System.Collections.Generic.IEnumerable<Azure.Communication.CallAutomation.DtmfTone> tones = null) { throw null; }
public static Azure.Communication.CallAutomation.MuteParticipantResult MuteParticipantResult(string operationContext = null) { throw null; }
Expand Down Expand Up @@ -617,9 +625,15 @@ internal ContinuousDtmfRecognitionToneReceived() { }
public partial class CreateCallEventResult
{
internal CreateCallEventResult() { }
public Azure.Communication.CallAutomation.CreateCallFailed FailureResult { get { throw null; } }
public bool IsSuccess { get { throw null; } }
public Azure.Communication.CallAutomation.CallConnected SuccessResult { get { throw null; } }
}
public partial class CreateCallFailed : Azure.Communication.CallAutomation.CallAutomationEventBase
{
internal CreateCallFailed() { }
public static Azure.Communication.CallAutomation.CreateCallFailed Deserialize(string content) { throw null; }
}
public partial class CreateCallOptions
{
public CreateCallOptions(Azure.Communication.CallAutomation.CallInvite callInvite, System.Uri callbackUri) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@ public class AnswerCallEventResult
/// </summary>
public CallConnected SuccessResult { get; }

internal AnswerCallEventResult(bool isSuccess, CallConnected successResult)
/// <summary>
/// <see cref="AnswerFailed"/> evnet will be returned when the call was not answered.
/// </summary>
/// <value></value>
public AnswerFailed FailureResult { get; }

internal AnswerCallEventResult(bool isSuccess, CallConnected successResult, AnswerFailed failureResult)
{
IsSuccess = isSuccess;
SuccessResult = successResult;
FailureResult = failureResult;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@ public class CreateCallEventResult
/// </summary>
public CallConnected SuccessResult { get; }

internal CreateCallEventResult(bool isSuccess, CallConnected successResult)
/// <summary>
/// <see cref="CreateCallFailed"/> evnet will be returned when the call was not created.
/// </summary>
/// <value></value>
public CreateCallFailed FailureResult { get; }

internal CreateCallEventResult(bool isSuccess, CallConnected successResult, CreateCallFailed failureResult)
{
IsSuccess = isSuccess;
SuccessResult = successResult;
FailureResult = failureResult;
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading