@ccos/ccsdk-lite 1.0.9 → 1.0.11

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.
@@ -9,36 +9,26 @@ export interface GetAppInfoParam {
9
9
  package: string;
10
10
  needIcon?: boolean;
11
11
  }
12
+ export declare function getUserInfo(): Promise<any>;
13
+ export declare function getHostAppInfo(): Promise<any>;
14
+ export declare function startPage(params: IntentParam): Promise<any>;
12
15
  export declare function startActivity(params: IntentParam): Promise<any>;
13
- export declare function startService(params: IntentParam): Promise<any>;
14
- export declare function sendBroadcast(params: IntentParam): Promise<any>;
15
- export declare function sendLocalBroadcast(params: IntentParam): Promise<any>;
16
- export declare function startBackEndAction(action: object): Promise<any>;
17
16
  export declare function exitPage(): void;
18
- export declare function moveTaskToBack(): Promise<any>;
19
- export declare function getUserInfo(): Promise<any>;
20
- export declare function getAppList(): Promise<any>;
21
- export declare function getAppInfo(params: GetAppInfoParam): Promise<any>;
22
- export declare function setLocalBroadcastHook(action: string, callback: Function): Promise<any>;
23
- export declare function deleteLocalBroadcastHook(action: string): Promise<any>;
24
- export declare function setBroadcastHook(action: string, callback: Function): Promise<any>;
25
- export declare function deleteBroadcastHook(action: string): Promise<any>;
26
- export declare function appPrivateMethod(method: string, params: any): Promise<any>;
17
+ export declare function movePageToBack(): Promise<any>;
18
+ export declare function startService(params: IntentParam): Promise<any>;
19
+ export declare function getInstalledAppInfo(params: GetAppInfoParam): Promise<any>;
20
+ export declare function getInstalledAppsList(): void;
21
+ export declare function execActionString(action: object): Promise<any>;
27
22
  declare const _default: {
23
+ getUserInfo: typeof getUserInfo;
24
+ getHostAppInfo: typeof getHostAppInfo;
25
+ startPage: typeof startPage;
28
26
  startActivity: typeof startActivity;
29
- startService: typeof startService;
30
- sendBroadcast: typeof sendBroadcast;
31
- sendLocalBroadcast: typeof sendLocalBroadcast;
32
- startBackEndAction: typeof startBackEndAction;
33
27
  exitPage: typeof exitPage;
34
- moveTaskToBack: typeof moveTaskToBack;
35
- getUserInfo: typeof getUserInfo;
36
- getAppList: typeof getAppList;
37
- getAppInfo: typeof getAppInfo;
38
- setLocalBroadcastHook: typeof setLocalBroadcastHook;
39
- deleteLocalBroadcastHook: typeof deleteLocalBroadcastHook;
40
- setBroadcastHook: typeof setBroadcastHook;
41
- deleteBroadcastHook: typeof deleteBroadcastHook;
42
- appPrivateMethod: typeof appPrivateMethod;
28
+ movePageToBack: typeof movePageToBack;
29
+ startService: typeof startService;
30
+ getInstalledAppInfo: typeof getInstalledAppInfo;
31
+ getInstalledAppsList: typeof getInstalledAppsList;
32
+ execActionString: typeof execActionString;
43
33
  };
44
34
  export default _default;
@@ -12,8 +12,6 @@ export declare function seekTo(position: number): Promise<any>;
12
12
  export declare function setLooping(isLooping: boolean, silentLoop?: boolean): Promise<any>;
13
13
  export declare function setVolume(volume: number): Promise<any>;
14
14
  export declare function setPlayerCore(core: 'DefaultPlayer' | 'MediaPlayer' | 'SocPlayer' | 'ExoPlayer'): Promise<any>;
15
- export declare function setListener(callback: Function): Promise<any>;
16
- export declare function deleteListener(): Promise<any>;
17
15
  declare const _default: {
18
16
  playNew: typeof playNew;
19
17
  stop: typeof stop;
@@ -29,7 +27,5 @@ declare const _default: {
29
27
  setLooping: typeof setLooping;
30
28
  setVolume: typeof setVolume;
31
29
  setPlayerCore: typeof setPlayerCore;
32
- setListener: typeof setListener;
33
- deleteListener: typeof deleteListener;
34
30
  };
35
31
  export default _default;