Condividi tramite


StreamingData.Parse Method

Definition

Overloads

Parse(String)

Parses a base64 encoded string into a StreamingData object, which can be one of the following subtypes: AudioData, AudioMetadata, TranscriptionData, or TranscriptionMetadata.

Parse<T>(String)

Parses a base64 encoded string into a StreamingData object, which can be one of the following subtypes: AudioData, AudioMetadata, TranscriptionData, or TranscriptionMetadata.

Parse(String)

Source:
StreamingData.cs

Parses a base64 encoded string into a StreamingData object, which can be one of the following subtypes: AudioData, AudioMetadata, TranscriptionData, or TranscriptionMetadata.

public static Azure.Communication.CallAutomation.StreamingData Parse (string data);
static member Parse : string -> Azure.Communication.CallAutomation.StreamingData
Public Shared Function Parse (data As String) As StreamingData

Parameters

data
String

The base64 string represents streaming data that will be converted into the appropriate subtype of StreamingData.

Returns

the type of StreamingData.

Exceptions

Throws a NotSupportedException if the provided base64 string does not correspond to a supported data type for the specified Kind.

Applies to

Parse<T>(String)

Source:
StreamingData.cs

Parses a base64 encoded string into a StreamingData object, which can be one of the following subtypes: AudioData, AudioMetadata, TranscriptionData, or TranscriptionMetadata.

public static T Parse<T> (string data) where T : Azure.Communication.CallAutomation.StreamingData;
static member Parse : string -> 'T (requires 'T :> Azure.Communication.CallAutomation.StreamingData)
Public Shared Function Parse(Of T As StreamingData) (data As String) As T

Type Parameters

T

Subtypes of StreamingData -> AudioData, AudioMetadata, TranscriptionData, or TranscriptionMetadata

Parameters

data
String

The base64 string represents streaming data that will be converted into the appropriate subtype of StreamingData.

Returns

T

the type of StreamingData.

Exceptions

Throws a NotSupportedException if the provided base64 string does not correspond to a supported data type for the specified Kind.

Applies to