-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Callautomation/release/beta2 features (#37485)
Beta 2 features implementation of PMA BETA2_2023_06_15_preview contract: SendDtmf DtmfSubscription PlayTTS PlaySSML Recognize Choices Recognize Freeform Mute BYO Cogsvc changes for Answer/CreateCall
- Loading branch information
1 parent
44012d1
commit f2ffcf8
Showing
112 changed files
with
4,422 additions
and
551 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
sdk/communication/Azure.Communication.CallAutomation/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
164 changes: 163 additions & 1 deletion
164
...ure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...cation.CallAutomation/src/CallAutomationEventProcessor/EventResult/SendDtmfEventResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
namespace Azure.Communication.CallAutomation | ||
{ | ||
/// <summary><see cref="SendDtmfEventResult"/> is returned from WaitForEvent of <see cref="SendDtmfResult"/>.</summary> | ||
public class SendDtmfEventResult | ||
{ | ||
/// <summary> | ||
/// Indicates whether the returned event is considered successful or not. | ||
/// </summary> | ||
public bool IsSuccess { get; internal set; } | ||
|
||
/// <summary> | ||
/// <see cref="SendDtmfCompleted"/> event will be returned once the dtmf tones have been sent successfully. | ||
/// </summary> | ||
public SendDtmfCompleted SuccessResult { get; } | ||
|
||
/// <summary> | ||
/// <see cref="SendDtmfFailed"/> event will be returned if send dtmf tones completed unsuccessfully. | ||
/// </summary> | ||
public SendDtmfFailed FailureResult { get; } | ||
|
||
internal SendDtmfEventResult(bool isSuccess, SendDtmfCompleted successResult, SendDtmfFailed failureResult) | ||
{ | ||
IsSuccess = isSuccess; | ||
SuccessResult = successResult; | ||
FailureResult = failureResult; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.