CallStateChangeNotification.cs
2 using Newtonsoft.Json;
3 
4 namespace Microsoft.Bot.Builder.Calling.ObjectModel.Contracts
5 {
9  [JsonObject(MemberSerialization.OptOut)]
11  {
15  [JsonProperty(Required = Required.Always)]
16  public CallState CurrentState { get; set; }
17 
19  {
20  this.Type = NotificationType.CallStateChange;
21  }
22  }
23 }
This concrete class defines the call state change notification schema.
Root namespace for the Microsoft Bot Builder Calling SDK object model.
NotificationType
List of various notification types
CallState
The various possible states of a AudioVideoCall.
Definition: CallState.cs:8
Root namespace for the Microsoft Bot Builder Calling SDK.
This base class defines a subset of properties which define a notification. CallStateNotification and...
Namespace for utilities and helpers in the Microsoft Bot Builder Calling SDK.
Root namespace for the Microsoft Bot Builder SDK.