1/* 2 * Copyright 2020 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package android.hardware.biometrics.fingerprint@2.2; 18 19import @2.1::IBiometricsFingerprintClientCallback; 20 21/* 22 * This HAL interface communicates asynchronous results from the 23 * fingerprint driver in response to user actions on the fingerprint sensor 24 */ 25interface IBiometricsFingerprintClientCallback extends @2.1::IBiometricsFingerprintClientCallback { 26 /** 27 * Sent when a fingerprint image is acquired by the sensor 28 * @param deviceId the instance of this fingerprint device 29 * @param acquiredInfo a message about the quality of the acquired image 30 * @param vendorCode a vendor-specific message about the quality of the image. Only 31 * valid when acquiredInfo == ACQUIRED_VENDOR 32 */ 33 oneway onAcquired_2_2(uint64_t deviceId, FingerprintAcquiredInfo acquiredInfo, 34 int32_t vendorCode); 35}; 36