本文整理匯總了Java中android.hardware.fingerprint.FingerprintManager.FINGERPRINT_ACQUIRED_GOOD屬性的典型用法代碼示例。如果您正苦於以下問題:Java FingerprintManager.FINGERPRINT_ACQUIRED_GOOD屬性的具體用法?Java FingerprintManager.FINGERPRINT_ACQUIRED_GOOD怎麽用?Java FingerprintManager.FINGERPRINT_ACQUIRED_GOOD使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在類android.hardware.fingerprint.FingerprintManager
的用法示例。
在下文中一共展示了FingerprintManager.FINGERPRINT_ACQUIRED_GOOD屬性的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: handleHelpCode
private void handleHelpCode(int code) {
switch (code) {
case FingerprintManager.FINGERPRINT_ACQUIRED_GOOD:
setResultInfo(R.string.AcquiredGood_warning);
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_IMAGER_DIRTY:
setResultInfo(R.string.AcquiredImageDirty_warning);
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_INSUFFICIENT:
setResultInfo(R.string.AcquiredInsufficient_warning);
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_PARTIAL:
setResultInfo(R.string.AcquiredPartial_warning);
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_TOO_FAST:
setResultInfo(R.string.AcquiredTooFast_warning);
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_TOO_SLOW:
setResultInfo(R.string.AcquiredToSlow_warning);
break;
}
}
示例2: handleHelpCode
private void handleHelpCode(int code) {
switch (code) {
case FingerprintManager.FINGERPRINT_ACQUIRED_GOOD:
Log.i("success","good");
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_IMAGER_DIRTY:
Log.i("success","dirty");
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_INSUFFICIENT:
Log.i("success","insufficient");
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_PARTIAL:
Log.i("success","partial");
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_TOO_FAST:
Log.i("success","fast");
break;
case FingerprintManager.FINGERPRINT_ACQUIRED_TOO_SLOW:
Log.i("success","slow");
break;
}
}