| Method | Defined by | ||
|---|---|---|---|
|
addMethod(method:PluginMethod):void
| Callable | ||
|
getMethod(externalName:String):PluginMethod
| Callable | ||
|
invokeMethod(externalName:String, args:Array = null):Object
Invokes a method that has a return value.
| Callable | ||
| addMethod | () | method |
public function addMethod(method:PluginMethod):voidParameters
method:PluginMethod |
| getMethod | () | method |
public function getMethod(externalName:String):PluginMethodParameters
externalName:String |
PluginMethod |
| invokeMethod | () | method |
public function invokeMethod(externalName:String, args:Array = null):ObjectInvokes a method that has a return value.
ParametersexternalName:String — arguments in an Array, if a callback is supported by the method
the callbackId should be the last element in the array.
|
|
args:Array (default = null) |
Object — the value returned by the invoked method
|