(OpenFL) JNI (HaxeObject) callbacks: Parameter types

66 views
Skip to first unread message

Emiliano Angelini

unread,
Jan 23, 2014, 11:36:45 AM1/23/14
to haxe...@googlegroups.com
Hi everyone, 
I've noticed that when calling back from Java to Haxe (OpenFL), the call function accepts an Array<Dynamic>. I've tested strings as the type of one of the parameters and it works:

InAppPurchase.callback.call ("onStarted", new Object[] { "Failure" });

I wonder what types does this function accept. Is it for simple types only or does it accept more complex user defined class instances or Lists, Maps, etc?

Does anyone happen to know?

Thanks!
Reply all
Reply to author
Forward
Message has been deleted
0 new messages