Skip to content

five-on-it / apps/client/src/audio/radio / RadioView

Interface: RadioView ​

Defined in: apps/client/src/audio/radio.ts:61

What the radio does, for the wheel, the phone, the banner and the tests.

Properties ​

index ​

index: number

Defined in: apps/client/src/audio/radio.ts:65

Its index among the stations, −1 for off.


item ​

item: RadioItem | undefined

Defined in: apps/client/src/audio/radio.ts:69

The item on, when one is.


noSignal ​

noSignal: boolean

Defined in: apps/client/src/audio/radio.ts:75

Nothing of the station will play.


playing ​

playing: boolean

Defined in: apps/client/src/audio/radio.ts:73

Whether it is heard now.


position ​

position: number

Defined in: apps/client/src/audio/radio.ts:71

How far into it (s).


station ​

station: Station | undefined

Defined in: apps/client/src/audio/radio.ts:63

The station tuned, or none (off).


tunes ​

tunes: number

Defined in: apps/client/src/audio/radio.ts:77

How many times it was tuned (a station, or off) or a car's station came on: the banner shows each.


where ​

where: "off" | "car" | "earbuds"

Defined in: apps/client/src/audio/radio.ts:67

Where it is heard: the car's radio, the earbuds, or nowhere.