# CaptionTrack

Since: **25.6**

## Properties

+----------------------------------------------------------------+
| Table                                                          |
+:-----+:---------+:-------+:------------+:----------------------+
| Name | Type     | Access | Min Version | Description           |
+:-----+:---------+:-------+:------------+:----------------------+
| name | *string* | R      | 25.6        | Get the name of the   |
|      |          |        |             | track                 |
+:-----+:---------+:-------+:------------+:----------------------+
| id   | *number* | R      | 25.6        | The ID of the track   |
|      |          |        |             | within the TrackGroup |
+------+----------+--------+-------------+-----------------------+

## Instance Methods

### createSetNameAction

Action to change the name of the track

Since: **26.3**

Returns: *object*

#### Parameters

+-------------------------------+
| Table                         |
+:-----+:---------+:------------+
| Name | Type     | Description |
+:-----+:---------+:------------+
| name | *string* | \-          |
+------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getIndex

Index representing the track index of this track within the track group.

Since: **25.6**

Returns: Promise<*number*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getMediaType

UUID representing the underlying media type of this track

Since: **25.6**

Returns: Promise<*[Guid](/premiere-pro/uxp/ppro-reference/classes/guid)*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getTrackItems

Returns the track items of the specified media type from the given track

Since: **25.6**

Returns: *\[]*

#### Parameters

+--------------------------------------------------+
| Table                                            |
+:-----------------------+:----------+:------------+
| Name                   | Type      | Description |
+:-----------------------+:----------+:------------+
| trackItemType          | *number*  | \-          |
+:-----------------------+:----------+:------------+
| includeEmptyTrackItems | *boolean* | \-          |
+------------------------+-----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### isMuted

Get mute state of the track

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### setMute

sets the mute state of the track to muted/unmuted

Since: **25.6**

Returns: Promise<*boolean*>

#### Parameters

+--------------------------------+
| Table                          |
+:-----+:----------+:------------+
| Name | Type      | Description |
+:-----+:----------+:------------+
| mute | *boolean* | \-          |
+------+-----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

+----------------------------------------------------------------------------------------------------------------------------+
| Metadata                                                                                                                   |
+----------------+-----------------------------------------------------------------------------------------------------------+
| title          | CaptionTrack                                                                                              |
+----------------+-----------------------------------------------------------------------------------------------------------+
| description    | Overview of CaptionTrack                                                                                  |
+----------------+-----------------------------------------------------------------------------------------------------------+
| source         | github                                                                                                    |
+----------------+-----------------------------------------------------------------------------------------------------------+
| pathprefix     | /premiere-pro/uxp                                                                                         |
+----------------+-----------------------------------------------------------------------------------------------------------+
| githubblobpath | https\://github.com/AdobeDocs/uxp-premiere-pro/blob/main/src/pages/ppro-reference/classes/captiontrack.md |
+----------------+-----------------------------------------------------------------------------------------------------------+
| template       | documentation                                                                                             |
+----------------+-----------------------------------------------------------------------------------------------------------+
