File tree Expand file tree Collapse file tree 5 files changed +621
-1
lines changed
sdk/communication/Azure.Communication.CallAutomation Expand file tree Collapse file tree 5 files changed +621
-1
lines changed Original file line number Diff line number Diff line change @@ -970,6 +970,7 @@ internal PlayEventResult() { }
970970 public partial class PlayFailed : Azure . Communication . CallAutomation . CallAutomationEventBase
971971 {
972972 internal PlayFailed ( ) { }
973+ public int ? FailedPlaySourceIndex { get { throw null ; } }
973974 public Azure . Communication . CallAutomation . MediaEventReasonCode ReasonCode { get { throw null ; } }
974975 public static Azure . Communication . CallAutomation . PlayFailed Deserialize ( string content ) { throw null ; }
975976 }
@@ -1032,6 +1033,7 @@ internal RecognizeCompleted() { }
10321033 public partial class RecognizeFailed : Azure . Communication . CallAutomation . CallAutomationEventBase
10331034 {
10341035 internal RecognizeFailed ( ) { }
1036+ public int ? FailedPlaySourceIndex { get { throw null ; } }
10351037 public Azure . Communication . CallAutomation . MediaEventReasonCode ReasonCode { get { throw null ; } }
10361038 public static Azure . Communication . CallAutomation . RecognizeFailed Deserialize ( string content ) { throw null ; }
10371039 }
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ public partial class PlayFailed : CallAutomationEventBase
1616 /// </summary>
1717 public MediaEventReasonCode ReasonCode { get ; internal set ; }
1818
19+ /// <summary> Contains the index of the failed play source. </summary>
20+ public int ? FailedPlaySourceIndex { get ; internal set ; }
21+
1922 /// <summary> Initializes a new instance of PlayFailed. </summary>
2023 /// <param name="internalEvent"> PlayFailedInternal event. </param>
2124 internal PlayFailed ( PlayFailedInternal internalEvent )
@@ -26,6 +29,7 @@ internal PlayFailed(PlayFailedInternal internalEvent)
2629 OperationContext = internalEvent . OperationContext ;
2730 ResultInformation = internalEvent . ResultInformation ;
2831 ReasonCode = new MediaEventReasonCode ( ResultInformation . SubCode . ToString ( ) ) ;
32+ FailedPlaySourceIndex = internalEvent . FailedPlaySourceIndex ;
2933 }
3034
3135 /// <summary>
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ public partial class RecognizeFailed : CallAutomationEventBase
1616 /// </summary>
1717 public MediaEventReasonCode ReasonCode { get ; internal set ; }
1818
19+ /// <summary> Contains the index of the failed play source. </summary>
20+ public int ? FailedPlaySourceIndex { get ; internal set ; }
21+
1922 /// <summary> Initializes a new instance of RecognizeFailed. </summary>
2023 /// <param name="internalEvent"> RecognizeFailedInternal event </param>
2124 internal RecognizeFailed ( RecognizeFailedInternal internalEvent )
@@ -26,6 +29,7 @@ internal RecognizeFailed(RecognizeFailedInternal internalEvent)
2629 OperationContext = internalEvent . OperationContext ;
2730 ResultInformation = internalEvent . ResultInformation ;
2831 ReasonCode = new MediaEventReasonCode ( ResultInformation . SubCode . ToString ( ) ) ;
32+ FailedPlaySourceIndex = internalEvent . FailedPlaySourceIndex ;
2933 }
3034
3135 /// <summary>
You can’t perform that action at this time.
0 commit comments