MediaConst

MediaConst ⇐ Class

Kind: global class
Extends: Class

MediaConst()

A static class that declare all the constants used for media (tv_type, radio_type, …)

TV_TYPE : number

Power-of-two code for TV channels.

Kind: static constant of MediaConst
Default: 1

RADIO_TYPE : number

Power-of-two code for Radio channels.

Kind: static constant of MediaConst
Default: 2

APPLICATION_TYPE : number

Power-of-two code for Application channels.

Kind: static constant of MediaConst
Default: 4

OTHER_TYPE : number

Power-of-two code for channels other than TV or Radio.

Kind: static constant of MediaConst
Default: 8

ALL_TYPE : number

All channels type: TV_TYPE + RADIO_TYPE + OTHER_TYPE + APPLICATION_TYPE

Kind: static constant of MediaConst
Default: 15