Meh*_*Gür 6 android barcode-scanner google-mlkit
我正在使用 Google MLKit 进行条形码扫描仪。当我使用时imageProxy.image,IDE显示警告;
” This declaration is opt-in and its usage should be marked with '@androidx.camera.core.ExperimentalGetImage' or '@OptIn(markerClass = androidx.camera.core.ExperimentalGetImage.class)'“
并且它强制使用@SuppressLint("UnsafeOptInUsageError")注释。我不知道它是什么,也找不到任何相关资源(甚至是官方资源)。那么为什么要使用这个注解呢?
| 归档时间: |
|
| 查看次数: |
3365 次 |
| 最近记录: |