I’m interfacing with the Android SDK and currently trying to call MediaCodec.getInputBuffer(int). I’m getting an error that the method/signature doesn’t exist though;
AndroidJavaObject InputByteBuffer = Codec.Call<AndroidJavaObject> ("getInputBuffer", BufferIndex);
My Codec class is fine (dequeBufferIndex gave me a valid index), but when I execute this line I get
Exception: java.lang.NoSuchMethodError: no methid with name='getInputBuffer' signature='(i)Ljava/lang/Object;' in class Landoird/media/MediaCodec;
So, I’m presuming this function exists, but maybe I need to re-interpret ByteBuffer as a different type?.. or perhaps call it manually with an explicit signature…
So what would really help is a way of seeing all the methods on a Java class… isthis possible?