tv-app-core-types 1.2.9-webos.5 → 1.2.9-webos.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,7 +83,24 @@ export declare enum TvOperations {
83
83
  MUSIC_PLAY = "musicPlay",
84
84
  MUSIC_PAUSE = "musicPause",
85
85
  MUSIC_STOP = "musicStop",
86
- CLOSE_CAPTION_OPERATION = "closedCaptionOperation"
86
+ CLOSE_CAPTION_OPERATION = "closedCaptionOperation",
87
+ PLAYLIST_MUSIC_PLAY = "playlistMusicPlay",
88
+ PLAYLIST_MUSIC_PAUSE = "playlistMusicPause",
89
+ PLAYLIST_MUSIC_STOP = "playlistMusicStop",
90
+ PLAYLIST_MUSIC_TOGGLE_PLAY = "playlistMusicTogglePlay",
91
+ PLAYLIST_MUSIC_SEEK = "playlistMusicSeek",
92
+ PLAYLIST_MUSIC_FORWARD = "playlistMusicForward",
93
+ PLAYLIST_MUSIC_REWIND = "playlistMusicRewind",
94
+ PLAYLIST_MUSIC_NEXT = "playlistMusicNext",
95
+ PLAYLIST_MUSIC_PREVIOUS = "playlistMusicPrevious",
96
+ MOVIE_PLAY = "moviePlay",
97
+ MOVIE_TOGGLE_PLAY = "movieTogglePlay",
98
+ MOVIE_STOP = "movieStop",
99
+ MOVIE_FORWARD = "movieForward",
100
+ MOVIE_REWIND = "movieRewind",
101
+ MOVIE_SEEK = "movieSeek",
102
+ MOVIE_SET_AUDIO = "movieSetAudio",
103
+ MOVIE_SET_SUBTITLE = "movieSetSubtitle"
87
104
  }
88
105
  export declare enum FileConsts {
89
106
  GLOBAL = "global",
@@ -88,6 +88,23 @@ export var TvOperations;
88
88
  TvOperations["MUSIC_PAUSE"] = "musicPause";
89
89
  TvOperations["MUSIC_STOP"] = "musicStop";
90
90
  TvOperations["CLOSE_CAPTION_OPERATION"] = "closedCaptionOperation";
91
+ TvOperations["PLAYLIST_MUSIC_PLAY"] = "playlistMusicPlay";
92
+ TvOperations["PLAYLIST_MUSIC_PAUSE"] = "playlistMusicPause";
93
+ TvOperations["PLAYLIST_MUSIC_STOP"] = "playlistMusicStop";
94
+ TvOperations["PLAYLIST_MUSIC_TOGGLE_PLAY"] = "playlistMusicTogglePlay";
95
+ TvOperations["PLAYLIST_MUSIC_SEEK"] = "playlistMusicSeek";
96
+ TvOperations["PLAYLIST_MUSIC_FORWARD"] = "playlistMusicForward";
97
+ TvOperations["PLAYLIST_MUSIC_REWIND"] = "playlistMusicRewind";
98
+ TvOperations["PLAYLIST_MUSIC_NEXT"] = "playlistMusicNext";
99
+ TvOperations["PLAYLIST_MUSIC_PREVIOUS"] = "playlistMusicPrevious";
100
+ TvOperations["MOVIE_PLAY"] = "moviePlay";
101
+ TvOperations["MOVIE_TOGGLE_PLAY"] = "movieTogglePlay";
102
+ TvOperations["MOVIE_STOP"] = "movieStop";
103
+ TvOperations["MOVIE_FORWARD"] = "movieForward";
104
+ TvOperations["MOVIE_REWIND"] = "movieRewind";
105
+ TvOperations["MOVIE_SEEK"] = "movieSeek";
106
+ TvOperations["MOVIE_SET_AUDIO"] = "movieSetAudio";
107
+ TvOperations["MOVIE_SET_SUBTITLE"] = "movieSetSubtitle";
91
108
  })(TvOperations || (TvOperations = {}));
92
109
  export var FileConsts;
93
110
  (function (FileConsts) {
@@ -57,8 +57,11 @@ export interface IMqttResponse {
57
57
  state: string | null;
58
58
  url: string | null;
59
59
  totalLength: number | null;
60
- loop: boolean;
60
+ loop: boolean | null;
61
61
  currentPos: number | null;
62
+ encryptionType: string | null;
63
+ subtitleTrack: string | null;
64
+ audioTrack: string | null;
62
65
  } | null;
63
66
  };
64
67
  feature: string;
@@ -26,6 +26,7 @@ export interface ITVController {
26
26
  getMediaTotalLength(): number | null;
27
27
  isMediaPlaying(): Promise<boolean>;
28
28
  getMediaState(): Promise<string>;
29
+ getMediaAudioLanguage(): Promise<string | null>;
29
30
  }
30
31
  export interface IRequestHandler {
31
32
  tvOnOperation(): void;
@@ -63,4 +64,21 @@ export interface IRequestHandler {
63
64
  musicPauseOperation(details: any): Promise<void>;
64
65
  musicStopOperation(details: any): Promise<void>;
65
66
  closeCaptionOperation(details: any): Promise<void>;
67
+ playlistMusicPlayOperation(details: any): Promise<void>;
68
+ playlistMusicPauseOperation(details: any): Promise<void>;
69
+ playlistMusicStopOperation(details: any): Promise<void>;
70
+ playlistMusicTogglePlayOperation(details: any): Promise<void>;
71
+ playlistMusicForwardOperation(details: any): Promise<void>;
72
+ playlistMusicRewindOperation(details: any): Promise<void>;
73
+ playlistMusicSeekOperation(details: any): Promise<void>;
74
+ playlistMusicNextOperation(details: any): Promise<void>;
75
+ playlistMusicPreviousOperation(details: any): Promise<void>;
76
+ moviePlayOperation(details: any): Promise<void>;
77
+ movieTogglePlayOperation(details: any): Promise<void>;
78
+ movieStopOperation(details: any): Promise<void>;
79
+ movieForwardOperation(details: any): Promise<void>;
80
+ movieRewindOperation(details: any): Promise<void>;
81
+ movieSeekOperation(details: any): Promise<void>;
82
+ movieSetAudioOperation(details: any): Promise<void>;
83
+ movieSetSubtitleOperation(details: any): Promise<void>;
66
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tv-app-core-types",
3
- "version": "1.2.9-webos.5",
3
+ "version": "1.2.9-webos.8",
4
4
  "description": "DigiValet TV App package for common utilities, functions and interfaces.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",