2.12.0 (latest) 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class TrackDefinition : IMessage<TrackDefinition>, IEquatable<TrackDefinition>, IDeepCloneable<TrackDefinition>, IBufferMessage, IMessage

Reference documentation and code samples for the Transcoder v1 API class TrackDefinition.

Track definition for the input asset.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TrackDefinition

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[TrackDefinition](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TrackDefinition.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TrackDefinition](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TrackDefinition.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[TrackDefinition](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TrackDefinition.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Video.Transcoder.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.md.txt)

## Assembly

Google.Cloud.Video.Transcoder.V1.dll

## Constructors

### TrackDefinition()

    public TrackDefinition()

### TrackDefinition(TrackDefinition)

    public TrackDefinition(TrackDefinition other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `TrackDefinition` |

## Properties

### DetectLanguages

    public bool DetectLanguages { get; set; }

Optional. Whether to automatically detect the languages present in the
track. If true, the system will attempt to identify all the languages
present in the track and populate the languages field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### DetectedLanguages

    public RepeatedField<string> DetectedLanguages { get; }

Output only. A list of languages detected in the input asset, represented
by a BCP 47 language code, such as "en-US" or "sr-Latn". For more
information, see
<https://www.unicode.org/reports/tr35/#Unicode_locale_identifier>.
This field is only populated if the detect_languages field is set to true.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### HasInputTrack

    public bool HasInputTrack { get; }

Gets whether the "input_track" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### InputTrack

    public int InputTrack { get; set; }

The input track.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Languages

    public RepeatedField<string> Languages { get; }

Optional. A list of languages spoken in the input asset, represented by a
BCP 47 language code, such as "en-US" or "sr-Latn". For more information,
see <https://www.unicode.org/reports/tr35/#Unicode_locale_identifier>.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |