@@ -610,6 +610,18 @@ export class AudioTrackInfo {
610610 */
611611 spatialAudio ?: boolean | undefined ;
612612}
613+
614+ /**
615+ * Custom data set by the receiver application.
616+ *
617+ * @remarks
618+ *
619+ * Augment this interface in custom receivers.
620+ */
621+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
622+ export interface TrackCustomData {
623+ }
624+
613625/**
614626 * Describes track metadata information.
615627 * @see https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages.Track
@@ -625,7 +637,7 @@ export class Track {
625637 /**
626638 * Custom data set by the receiver application.
627639 */
628- customData ?: any ;
640+ customData ?: TrackCustomData ;
629641
630642 /**
631643 * Indicate track is in-band and not side-loaded track. Relevant only for text tracks.
@@ -683,6 +695,17 @@ export class Track {
683695 roles ?: string [ ] | undefined ;
684696}
685697
698+ /**
699+ * Custom data set by the receiver application.
700+ *
701+ * @remarks
702+ *
703+ * Augment this interface in custom receivers.
704+ */
705+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
706+ export interface TextTrackStyleCustomData {
707+ }
708+
686709/**
687710 * Describes style information for a text track.
688711 * @see https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages.TextTrackStyle
@@ -696,7 +719,7 @@ export class TextTrackStyle {
696719 /**
697720 * Custom data set by the receiver application.
698721 */
699- customData ?: any ;
722+ customData ?: TextTrackStyleCustomData ;
700723
701724 /**
702725 * RGBA color for the edge; this value will be ignored if edgeType is NONE.
@@ -818,6 +841,17 @@ export class SetCredentialsRequestData extends RequestData {
818841 source ?: string | undefined ;
819842}
820843
844+ /**
845+ * Customizable object for storing session state.
846+ *
847+ * @remarks
848+ *
849+ * Augment this interface in custom receivers.
850+ */
851+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
852+ export interface SessionStateCustomData {
853+ }
854+
821855/**
822856 * A state object containing all data to be stored in StoreSession and to be
823857 * recovered in ResumeSession.
@@ -829,7 +863,7 @@ export class SessionState {
829863 /**
830864 * Customizable object for storing the state.
831865 */
832- customData ?: any ;
866+ customData ?: SessionStateCustomData ;
833867
834868 loadRequestData ?: LoadRequestData | undefined ;
835869}
@@ -1103,6 +1137,17 @@ export class QueueLoadRequestData extends RequestData {
11031137 startIndex ?: number | undefined ;
11041138}
11051139
1140+ /**
1141+ * The application can define any extra queue item information needed.
1142+ *
1143+ * @remarks
1144+ *
1145+ * Augment this interface in custom receivers.
1146+ */
1147+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
1148+ export interface QueueItemCustomData {
1149+ }
1150+
11061151/**
11071152 * Queue item information. Application developers may need to create a QueueItem to
11081153 * insert a queue element using InsertQueueItems. In this case they should not
@@ -1128,7 +1173,7 @@ export class QueueItem {
11281173 /**
11291174 * The application can define any extra queue item information needed.
11301175 */
1131- customData ?: any ;
1176+ customData ?: QueueItemCustomData ;
11321177
11331178 /**
11341179 * Unique identifier of the item in the queue.
@@ -1637,6 +1682,17 @@ export class MovieMediaMetadata {
16371682 title ?: string | undefined ;
16381683}
16391684
1685+ /**
1686+ * Applicaiton-specific media status.
1687+ *
1688+ * @remarks
1689+ *
1690+ * Augment this interface in custom receivers.
1691+ */
1692+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
1693+ export interface MediaStatusCustomData {
1694+ }
1695+
16401696/**
16411697 * Represents the status of a media session.
16421698 * [Documentation]{@link https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages.MediaStatus}
@@ -1668,7 +1724,7 @@ export class MediaStatus {
16681724 /**
16691725 * Application-specific media status.
16701726 */
1671- customData ?: any ;
1727+ customData ?: MediaStatusCustomData ;
16721728
16731729 /**
16741730 * Extended media status information.
@@ -1804,6 +1860,17 @@ export class MediaMetadata {
18041860 sectionStartTimeInMedia ?: number | undefined ;
18051861}
18061862
1863+ /**
1864+ * Application-specific media information.
1865+ *
1866+ * @remarks
1867+ *
1868+ * Augment this interface in custom receivers.
1869+ */
1870+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
1871+ export interface MediaInformationCustomData {
1872+ }
1873+
18071874/**
18081875 * Represents the media information.
18091876 * @see https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages.MediaInformation
@@ -1841,7 +1908,7 @@ export class MediaInformation {
18411908 /**
18421909 * Application-specific media information.
18431910 */
1844- customData ?: any ;
1911+ customData ?: MediaInformationCustomData ;
18451912
18461913 /**
18471914 * The media duration.
@@ -2383,6 +2450,17 @@ export class BreakStatus {
23832450 whenSkippable ?: number | undefined ;
23842451}
23852452
2453+ /**
2454+ * Application-specific break clip data.
2455+ *
2456+ * @remarks
2457+ *
2458+ * Augment this interface in custom receivers.
2459+ */
2460+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
2461+ export interface BreakClipCustomData {
2462+ }
2463+
23862464/**
23872465 * Represents break clip (e.g. a clip of ad during ad break)
23882466 * @see https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages.BreakClip
@@ -2411,7 +2489,7 @@ export class BreakClip {
24112489 /**
24122490 * Application-specific break clip data.
24132491 */
2414- customData ?: any ;
2492+ customData ?: BreakClipCustomData ;
24152493 /**
24162494 * Duration of break clip in sec.
24172495 */
0 commit comments