UNPKG

@ccos/webos

Version:

A Base JavaScript Framework for Skyworth/Coocaa TV

44 lines (32 loc) 1.02 kB
import { callLiteApi } from './nativeApi'; let moduleName = 'appman'; export function getInstalledAppList(params) { return callLiteApi(moduleName, 'getInstalledAppList', params); } export function getAppInfo(params) { return callLiteApi(moduleName, 'getAppInfo', params); } export function startActivity(params) { return callLiteApi(moduleName, 'startActivity', params); } export function startService(params) { return callLiteApi(moduleName, 'startService', params); } export function sendBroadcast(params) { return callLiteApi(moduleName, 'sendBroadcast', params); } export function startBackEndAction(params) { return callLiteApi(moduleName, 'startBackEndAction', params); } export function installApkApp(params) { return callLiteApi(moduleName, 'installApkApp', params); } export default { getInstalledAppList, getAppInfo, startActivity, startService, sendBroadcast, startBackEndAction, installApkApp, }