From a19c3277435de85d5ca314fb61b029cd083c41c6 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Mon, 21 Mar 2022 17:58:15 +0800 Subject: [PATCH] android:change DoricArrayBufferResource to public --- .../java/pub/doric/resource/DoricArrayBufferResource.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doric-android/doric/src/main/java/pub/doric/resource/DoricArrayBufferResource.java b/doric-android/doric/src/main/java/pub/doric/resource/DoricArrayBufferResource.java index f8401222..91dda151 100644 --- a/doric-android/doric/src/main/java/pub/doric/resource/DoricArrayBufferResource.java +++ b/doric-android/doric/src/main/java/pub/doric/resource/DoricArrayBufferResource.java @@ -26,7 +26,7 @@ import pub.doric.async.AsyncResult; * @Author: pengfei.zhou * @CreateDate: 2022/2/28 */ -class DoricArrayBufferResource extends DoricResource { +public class DoricArrayBufferResource extends DoricResource { private JSArrayBuffer value; public DoricArrayBufferResource(DoricContext doricContext, String identifier) { @@ -37,6 +37,10 @@ class DoricArrayBufferResource extends DoricResource { this.value = value; } + public JSArrayBuffer getValue() { + return this.value; + } + @Override public AsyncResult fetchRaw() { final AsyncResult result = new AsyncResult<>();