mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-11 00:00:05 +08:00
Change binaryEcho to echoArrayBuffer.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user