AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The Result associated with a .

Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.

Inheritance Hierarchy

System.Object
  Amazon.TranscribeStreaming.Model.Result

Namespace: Amazon.TranscribeStreaming.Model
Assembly: AWSSDK.TranscribeStreaming.dll
Version: 3.x.y.z

Syntax

C#
public class Result

The Result type exposes the following members

Constructors

NameDescription
Public Method Result()

Properties

NameTypeDescription
Public Property Alternatives System.Collections.Generic.List<Amazon.TranscribeStreaming.Model.Alternative>

Gets and sets the property Alternatives.

A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of Items, Entities, or Transcript.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property ChannelId System.String

Gets and sets the property ChannelId.

Indicates which audio channel is associated with the Result.

Public Property EndTime System.Nullable<System.Double>

Gets and sets the property EndTime.

The end time of the Result in seconds, with millisecond precision (e.g., 1.056).

Public Property IsPartial System.Nullable<System.Boolean>

Gets and sets the property IsPartial.

Indicates if the segment is complete.

If IsPartial is true, the segment is not complete. If IsPartial is false, the segment is complete.

Public Property LanguageCode Amazon.TranscribeStreaming.LanguageCode

Gets and sets the property LanguageCode.

The language code that represents the language spoken in your audio stream.

Public Property LanguageIdentification System.Collections.Generic.List<Amazon.TranscribeStreaming.Model.LanguageWithScore>

Gets and sets the property LanguageIdentification.

The language code of the dominant language identified in your stream.

If you enabled channel identification and each channel of your audio contains a different language, you may have more than one result.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property ResultId System.String

Gets and sets the property ResultId.

Provides a unique identifier for the Result.

Public Property StartTime System.Nullable<System.Double>

Gets and sets the property StartTime.

The start time of the Result in seconds, with millisecond precision (e.g., 1.056).

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer