MCPcopy
hub / github.com/layabox/LayaAir-v1 / call

Method call

publibs/libs/LayaAir.d.ts:4011–4011  ·  view source on GitHub ↗

* 调用方法 * @param methodName 方法名 * @param ...args 参数 * @return 返回值 目前只用android能直接返回

(methodName: string, ...args: any[])

Source from the content-addressed store, hash-verified

4009 * @return 返回值 目前只用android能直接返回
4010 */
4011 call(methodName: string, ...args: any[]): any;
4012 /**
4013 * 调用方法通过回调接收返回值
4014 * @param callback 回调方法 参数为返回值

Callers 15

laya.jsFile · 0.65
classHasFunction · 0.65
tmpFunction · 0.65
EventHandlerFunction · 0.65
RenderContextFunction · 0.65
LayaGLEmptyFunction · 0.65
NodeFunction · 0.65
AudioSoundFunction · 0.65
SoundChannelFunction · 0.65
SoundFunction · 0.65
WebAudioSoundFunction · 0.65
HttpRequestFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected