feat: Add SharedArray.getSize() (#2406)

* feat: Add `SharedArray.getSize()`

* Rename `count` to `size` on iOS

* `->` instead of `.`
This commit is contained in:
Marc Rousavy
2024-01-17 18:30:26 +01:00
committed by GitHub
parent 03ee0a2099
commit 2f21609e39
5 changed files with 20 additions and 6 deletions

View File

@@ -39,6 +39,11 @@ public final class SharedArray {
*/
public native ByteBuffer getByteBuffer();
/**
* Gets the size of the ByteBuffer.
*/
public native int getSize();
private native HybridData initHybrid(VisionCameraProxy proxy, int dataType, int size);
/**