UNPKG

wdpapi

Version:

51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on

39 lines (38 loc) 861 B
import { ResultType } from '../common/data-type'; /** * @public * @class ActionController */ declare class ActionController { private apiClassName; private obj; /** * @constructor * @param {any} obj */ constructor(obj: any); /** * @public * @async * @function RunAction * @param {string} actionName * @param {any} actionParams * @returns {Promise<ResultType>} */ RunAction(actionName: string, actionParams: any): Promise<ResultType>; /** * @public * @async * @function EndAction * @returns {Promise<ResultType>} */ EndAction(bIsCancel?: boolean): Promise<ResultType>; /** * @public * @async * @function GetAction * @returns {Promise<ResultType>} */ GetAction(): Promise<ResultType>; } export default ActionController;