Created
August 25, 2021 13:29
-
-
Save suzukieng/501a756cb9487f609a3420d490fc551c to your computer and use it in GitHub Desktop.
JTouchID interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.classycode.touchidexample; | |
import com.sun.jna.Callback; | |
import com.sun.jna.Library; | |
interface JTouchID extends Library { | |
interface AuthCallback extends Callback { | |
void callback(int result, int laError); | |
} | |
int touchid_supported(); | |
void touchid_authenticate(String message, AuthCallback callback); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment