Value.objectInvokeMethod
javascriptcore.value.Value objectInvokeMethod(string name, javascriptcore.value.Value[] parameters = null)Invoke method with name on object referenced by value, passing the given parameters. If n_parameters is 0 no parameters will be passed to the method. The object instance will be handled automatically even when the method is a custom one registered with [javascriptcore.class_.Class.addMethod], so it should never be passed explicitly as parameter of this function.
This function always returns a #JSCValue, in case of void methods a #JSCValue referencing
<function>undefined</function> is returned.Parameters
name | the method name |
parameters | the #JSCValue<!-- -->s to pass as parameters to the method, or null |
Returns
a #JSCValue with the return value of the method.