---
url: https://docs.moqtail.dev/ts/api/model/classes/Timescale.md
---
# Class: Timescale

Valid as a track property too (LOC 6.1 Table 1).

## Constructors

### Constructor

> **new Timescale**(`timescale`): `Timescale`

#### Parameters

##### timescale

`bigint`

#### Returns

`Timescale`

## Properties

### timescale

> `readonly` **timescale**: `bigint`

***

### TYPE

> `readonly` `static` **TYPE**: [`Timescale`](../enumerations/LOCPropertyId.md#timescale) = `LOCPropertyId.Timescale`

## Methods

### toKeyValuePair()

> **toKeyValuePair**(): [`KeyValuePair`](KeyValuePair.md)

#### Returns

[`KeyValuePair`](KeyValuePair.md)

***

### fromKeyValuePair()

> `static` **fromKeyValuePair**(`pair`): `Timescale` | `undefined`

#### Parameters

##### pair

[`KeyValuePair`](KeyValuePair.md)

#### Returns

`Timescale` | `undefined`
