Condividi tramite


MediaStreamingSubscription Constructor

Definition

Initializes a new instance of Azure.Communication.CallAutomation.MediaStreamingSubscriptionInternal.

public MediaStreamingSubscription (string id, Azure.Communication.CallAutomation.MediaStreamingSubscriptionState? state, System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.MediaStreamingContent> subscribedContentTypes);
new Azure.Communication.CallAutomation.MediaStreamingSubscription : string * Nullable<Azure.Communication.CallAutomation.MediaStreamingSubscriptionState> * System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.MediaStreamingContent> -> Azure.Communication.CallAutomation.MediaStreamingSubscription
Public Sub New (id As String, state As Nullable(Of MediaStreamingSubscriptionState), subscribedContentTypes As IReadOnlyList(Of MediaStreamingContent))

Parameters

id
String

Gets or Sets subscription Id.

state
Nullable<MediaStreamingSubscriptionState>

Gets or Sets media streaming subscription state.

subscribedContentTypes
IReadOnlyList<MediaStreamingContent>

Gets or Sets the subscribed media streaming content types.

Applies to