use*_*023 5 android bridge react-native
我必须在 React Native 中使用一个 Android 模块(通过React Native Bridge),它的一个方法需要一个图像来打印。图像属于Bitmap类型(不是文件路径或设备中的文件)。
这是签名:
void printLogo(Bitmap image, boolean isBuffer)
此外,这些是Bitmap图像的说明(我必须从 React Native 方面遵守它们:
image –Image resource Bitmap object, the width must be less than 384 pixels and an integer multiple of 8, high pixel must be an integer multiple of 8
任何想法如何将其发送到本机模块?
谢谢。
| 归档时间: |
|
| 查看次数: |
762 次 |
| 最近记录: |