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

42 lines (41 loc) 925 B
import { Basic } from '../common/basic'; import { ResultType } from '../common/data-type'; import { ICompass } from '../common/interface/compass'; /** * @public * @class CompassController * @extends Basic */ declare class CompassController extends Basic { private apiClassName; private CompassValidate; private compass; /** * @constructor * @param {any} obj */ constructor(obj: any); /** * @public * @async * @function Start * @param {ICompass} opt (optional) * @returns {Promise<ResultType>} */ Start(opt?: ICompass): Promise<ResultType>; /** * @public * @async * @function End * @returns {Promise<ResultType>} */ End(): Promise<ResultType>; /** * @public * @async * @function Get * @returns {Promise<ResultType>} */ Get(): Promise<ResultType>; } export default CompassController;