mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +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;
|
||||
} else if ("binaryEcho".equals(action)) {
|
||||
} else if ("echoArrayBuffer".equals(action)) {
|
||||
final byte[] result = args.getArrayBuffer(0);
|
||||
callbackContext.success(result);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user