/* * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @addtogroup HdfFaceAuth * @{ * * @brief Provides APIs for the face auth driver. * * The face auth driver provides a unified interface for the face auth service to access the face auth driver. * After obtaining the face auth driver proxy, the service can call related APIs to obtain executors. * After obtaining the face auth executors, the service can call related APIs to get executor info, get * template info, enroll template, authenticate template, delete template, etc. * * @since 3.2 */ /** * @file IFaceAuthInterface.idl * * @brief Defines the get executor list API of the face auth driver. This API can be used to get executor list * of driver. * * @since 3.2 */ package ohos.hdi.face_auth.v1_0; import ohos.hdi.face_auth.v1_0.IExecutor; /** * @brief Defines the get executor list API of the face auth driver. * * @since 3.2 * @version 1.0 */ interface IFaceAuthInterface { /** * @brief Obtains executor list of driver. * * @param executorList Indicates executor list of driver. For details, see {@link IExecutor}. * * @return Returns 0 if the operation is successful. * @return Returns a non-zero value if the operation fails. */ GetExecutorList([out] IExecutor[] executorList); }