hardware_xiaomi/interfaces/fingerprints/extension/1.0/IFingerprintNavigation.hal

27 lines
673 B
Plaintext
Raw Normal View History

/*
* Copyright (C) 2023 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.fingerprints.extension@1.0;
interface IFingerprintNavigation {
struct NavigationConfig {
int32_t tapNoImageMaxThreshold;
int32_t holdNoImageMinThreshold;
int32_t doubleClickTimeInterval;
int32_t tapImageTransMaxThreshold;
int32_t swipeImageTransMinThreshold;
int32_t backGroundAlgo;
};
setNavigation(bool enabled);
getNavigationConfig() generates (NavigationConfig navigationConfig);
oneway setNavigationConfig(NavigationConfig navigationConfig);
isEnabled() generates (bool isEnabled);
};