@ccos/ccsdk-lite 1.0.5 → 1.0.6

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.
@@ -11,61 +11,15 @@ export declare function stopPagAni(): Promise<any>;
11
11
  export declare function sendTts(text: string, ttsId: string): Promise<any>;
12
12
  export declare function stopTts(): Promise<any>;
13
13
  export declare function sendStreamTts(text: string, ttsId: string, isFirst: boolean, isEnd: boolean): Promise<any>;
14
- export declare function playerPlayNewUrl(url: string): Promise<any>;
15
- export declare function playerStop(): Promise<any>;
16
- export declare function playerPause(): Promise<any>;
17
- export declare function playerStart(): Promise<any>;
18
- export declare function playerSeekTo(position: number): Promise<any>;
19
- export declare function playerHasPrepared(): Promise<any>;
20
- export declare function playerIsPlaying(): Promise<any>;
21
- export declare function playerGetDuration(): Promise<any>;
22
- export declare function playerGetCurrentPosition(): Promise<any>;
23
- export declare function playerGetPlayerState(): Promise<any>;
24
- export declare function playerPlayNewFile(path: string): Promise<any>;
25
- export declare function playerSetLooping(isLooping: boolean, silentLoop?: boolean): Promise<any>;
26
- export declare function playerSetAutoWakeLock(autoWakeLock: boolean): Promise<any>;
27
- export declare function playerRePlay(): Promise<any>;
28
- export declare function playerSetPlayWhenReady(playWhenReady?: boolean): Promise<any>;
29
- export declare function playerGetPlayerCore(): Promise<any>;
30
- export declare function playerGetRealPlayerCore(): Promise<any>;
31
- export declare function playerSetListener(callback: Function): Promise<any>;
32
- export declare function playerDeleteListener(): Promise<any>;
33
- export declare function setVideoLayout(width: number, height: number, x: number, y: number): Promise<any>;
34
- export declare function setVideoVisible(show: boolean): Promise<any>;
35
14
  export declare function setBackground(needUpdateColor: boolean, color: number, needUpdateImage: boolean, imageUrl: string): Promise<any>;
36
15
  export declare function clearBackground(): Promise<any>;
37
- export declare function showVoiceTipsBar(tips?: string): Promise<any>;
38
- export declare function hideVoiceTipsBar(): Promise<any>;
39
16
  declare const _default: {
40
17
  startPagAni: typeof startPagAni;
41
18
  stopPagAni: typeof stopPagAni;
42
19
  sendTts: typeof sendTts;
43
20
  stopTts: typeof stopTts;
44
21
  sendStreamTts: typeof sendStreamTts;
45
- playerPlayNewUrl: typeof playerPlayNewUrl;
46
- playerStop: typeof playerStop;
47
- playerPause: typeof playerPause;
48
- playerStart: typeof playerStart;
49
- playerSeekTo: typeof playerSeekTo;
50
- playerHasPrepared: typeof playerHasPrepared;
51
- playerIsPlaying: typeof playerIsPlaying;
52
- playerGetDuration: typeof playerGetDuration;
53
- playerGetCurrentPosition: typeof playerGetCurrentPosition;
54
- playerGetPlayerState: typeof playerGetPlayerState;
55
- playerPlayNewFile: typeof playerPlayNewFile;
56
- playerSetLooping: typeof playerSetLooping;
57
- playerSetAutoWakeLock: typeof playerSetAutoWakeLock;
58
- playerRePlay: typeof playerRePlay;
59
- playerSetPlayWhenReady: typeof playerSetPlayWhenReady;
60
- playerGetPlayerCore: typeof playerGetPlayerCore;
61
- playerGetRealPlayerCore: typeof playerGetRealPlayerCore;
62
- playerSetListener: typeof playerSetListener;
63
- playerDeleteListener: typeof playerDeleteListener;
64
- setVideoLayout: typeof setVideoLayout;
65
- setVideoVisible: typeof setVideoVisible;
66
22
  setBackground: typeof setBackground;
67
23
  clearBackground: typeof clearBackground;
68
- showVoiceTipsBar: typeof showVoiceTipsBar;
69
- hideVoiceTipsBar: typeof hideVoiceTipsBar;
70
24
  };
71
25
  export default _default;
@@ -19,12 +19,10 @@ export declare function moveTaskToBack(): Promise<any>;
19
19
  export declare function getUserInfo(): Promise<any>;
20
20
  export declare function getAppList(): Promise<any>;
21
21
  export declare function getAppInfo(params: GetAppInfoParam): Promise<any>;
22
- export declare function addLocalBroadcastHook(action: string, callback: Function): Promise<any>;
22
+ export declare function setLocalBroadcastHook(action: string, callback: Function): Promise<any>;
23
23
  export declare function deleteLocalBroadcastHook(action: string): Promise<any>;
24
- export declare function addBroadcastHook(action: string, callback: Function): Promise<any>;
24
+ export declare function setBroadcastHook(action: string, callback: Function): Promise<any>;
25
25
  export declare function deleteBroadcastHook(action: string): Promise<any>;
26
- export declare function playAudio(source: string, loop?: boolean, fromAssets?: boolean): Promise<any>;
27
- export declare function stopAudio(): Promise<any>;
28
26
  export declare function appPrivateMethod(method: string, params: any): Promise<any>;
29
27
  declare const _default: {
30
28
  startActivity: typeof startActivity;
@@ -37,12 +35,10 @@ declare const _default: {
37
35
  getUserInfo: typeof getUserInfo;
38
36
  getAppList: typeof getAppList;
39
37
  getAppInfo: typeof getAppInfo;
40
- addLocalBroadcastHook: typeof addLocalBroadcastHook;
38
+ setLocalBroadcastHook: typeof setLocalBroadcastHook;
41
39
  deleteLocalBroadcastHook: typeof deleteLocalBroadcastHook;
42
- addBroadcastHook: typeof addBroadcastHook;
40
+ setBroadcastHook: typeof setBroadcastHook;
43
41
  deleteBroadcastHook: typeof deleteBroadcastHook;
44
- playAudio: typeof playAudio;
45
- stopAudio: typeof stopAudio;
46
42
  appPrivateMethod: typeof appPrivateMethod;
47
43
  };
48
44
  export default _default;