Using AndroidJavaClass.CallStatic("func", new object[] { data } );
I can pass data from Unity to a parent Android Activity… however this is slow.
It currently takes 48ms for every call I send, and I want to be calling 30-60 times per second.
I am sending a large byte
Is there a quicker option?
I have started looking at different JVM Serializers but am not sure if that is the right track?
How does object serialisation work with the AndroidJavaClass? How is the data serialised and sent between languages?