mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 20:33:07 +08:00
Change binaryEcho to echoArrayBuffer.
This commit is contained in:
parent
7530c21a9f
commit
dfb799739a
@ -38,7 +38,7 @@ public class Echo extends CordovaPlugin {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
} else if ("binaryEcho".equals(action)) {
|
} else if ("echoArrayBuffer".equals(action)) {
|
||||||
final byte[] result = args.getArrayBuffer(0);
|
final byte[] result = args.getArrayBuffer(0);
|
||||||
callbackContext.success(result);
|
callbackContext.success(result);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user