| class info |
| com.huawei.hms.ml.scan.HmsBuildBitmapOption.Creator |
| Creator class for creating HmsBuildBitmapOption. |
| Return type | Method name |
| HmsScanAnalyzerOptions.Creator | public HmsBuildBitmapOption.Creator setBitmapColor(int color) |
| HmsScanAnalyzerOptions.Creator | public HmsBuildBitmapOption.Creator setBitmapBackgroundColor(int color) |
| HmsScanAnalyzerOptions.Creator | public HmsBuildBitmapOption.Creator setBitmapMargin(int margin) |
| HmsScanAnalyzerOptions | public HmsBuildBitmapOption create() |
| Method |
| public HmsBuildBitmapOption.Creator setBitmapColor(int color) |
| Sets the barcode color. |
Parameters
| Parameter name | Parameter desc |
| color | Barcode color. |
Return
| Type | desc |
| HmsBuildBitmapOption.Creator | Creator class for creating HmsBuildBitmapOption. |
| Method |
| public HmsBuildBitmapOption.Creator setBitmapBackgroundColor(int color) |
| Sets the barcode background color. |
Parameters
| Parameter name | Parameter desc |
| color | Barcode background color. |
Return
| Type | desc |
| HmsBuildBitmapOption.Creator | Creator class for creating HmsBuildBitmapOption. |
| Method |
| public HmsBuildBitmapOption.Creator setBitmapMargin(int margin) |
| Sets the barcode margin. |
Parameters
| Parameter name | Parameter desc |
| margin | Barcode margin. |
Return
| Type | desc |
| HmsBuildBitmapOption.Creator | Creator class for creating HmsBuildBitmapOption. |
| Method |
| public HmsBuildBitmapOption create() |
| Creates HmsBuildBitmapOption. |
Return
| Type | desc |
| HmsBuildBitmapOption | HmsBuildBitmapOption. |