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

61 lines (60 loc) 1.29 kB
import { ResultType } from './common/data-type'; import { Basic } from './common/basic'; /** * @public * @class DebugController * @extends Basic */ declare class DebugController extends Basic { private Log; private DebugValidate; /** * @constructor * @param {any} obj */ constructor(obj: any); /** * @public * @async * @function SetLogMode * @param {string} mode (default value is 'none') * @returns {Promise<void>} */ SetLogMode(mode?: string): Promise<void>; /** * @public * @async * @function StartRecord * @returns {Promise<void>} */ StartRecord(): Promise<void>; /** * @public * @async * @function EndRecord * @returns {Promise<void>} */ EndRecord(): Promise<void>; /** * @public * @async * @function GetRecord * @returns {Promise<void>} */ GetRecord(): Promise<void>; /** * @public * @async * @function GetDebugLogs * @returns {Promise<ResultType>} */ GetDebugLogs(): Promise<ResultType>; /** * @public * @async * @function DownloadDebugLogs * @returns {Promise<void>} */ DownloadDebugLogs(): Promise<void>; } export default DebugController;