tv-app-core-types 1.2.9-webos.4 → 1.2.9-webos.7

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,16 @@ 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"
87
96
  }
88
97
  export declare enum FileConsts {
89
98
  GLOBAL = "global",
@@ -88,6 +88,15 @@ 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";
91
100
  })(TvOperations || (TvOperations = {}));
92
101
  export var FileConsts;
93
102
  (function (FileConsts) {
@@ -24,6 +24,8 @@ export interface ITVController {
24
24
  }>;
25
25
  getAVPlayerCurrentTime(): number | null;
26
26
  getMediaTotalLength(): number | null;
27
+ isMediaPlaying(): Promise<boolean>;
28
+ getMediaState(): Promise<string>;
27
29
  }
28
30
  export interface IRequestHandler {
29
31
  tvOnOperation(): void;
@@ -61,4 +63,13 @@ export interface IRequestHandler {
61
63
  musicPauseOperation(details: any): Promise<void>;
62
64
  musicStopOperation(details: any): Promise<void>;
63
65
  closeCaptionOperation(details: any): Promise<void>;
66
+ playlistMusicPlayOperation(details: any): Promise<void>;
67
+ playlistMusicPauseOperation(details: any): Promise<void>;
68
+ playlistMusicStopOperation(details: any): Promise<void>;
69
+ playlistMusicTogglePlayOperation(details: any): Promise<void>;
70
+ playlistMusicForwardOperation(details: any): Promise<void>;
71
+ playlistMusicRewindOperation(details: any): Promise<void>;
72
+ playlistMusicSeekOperation(details: any): Promise<void>;
73
+ playlistMusicNextOperation(details: any): Promise<void>;
74
+ playlistMusicPreviousOperation(details: any): Promise<void>;
64
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tv-app-core-types",
3
- "version": "1.2.9-webos.4",
3
+ "version": "1.2.9-webos.7",
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",