# SwitchedInfo

URL: https://www.caprid.com/docs/reference/typescript/caprid/relay/index/interfaces/switchedinfo/

Defined in: [relay-sdks/ts/src/switchable.ts:64](https://github.com/caprids/relay-sdks/blob/main/ts/src/switchable.ts#L64)

What `onSwitched` receives and `switchTo` resolves with.

## Properties

### from

```ts
from: string;
```

Defined in: [relay-sdks/ts/src/switchable.ts:66](https://github.com/caprids/relay-sdks/blob/main/ts/src/switchable.ts#L66)

The track that was active before the cutover.

***

### subscribed

```ts
subscribed: SubscribeOk;
```

Defined in: [relay-sdks/ts/src/switchable.ts:70](https://github.com/caprids/relay-sdks/blob/main/ts/src/switchable.ts#L70)

The new subscription's acceptance info.

***

### to

```ts
to: string;
```

Defined in: [relay-sdks/ts/src/switchable.ts:68](https://github.com/caprids/relay-sdks/blob/main/ts/src/switchable.ts#L68)

The track now active; the same as `from` when only the parameters changed.
