コード例 #1
0
        public static void Decrypt(string keyName, string value, Action <string> onSuccess, Action <Warning> onWarning, Action <Error> onError)
        {
            if (AGUtils.IsNotAndroid())
            {
                return;
            }

            GoldfingerAJO.Call("decrypt", keyName, value, new FingerprintCallback(onSuccess, onWarning, onError));
        }
コード例 #2
0
        public static void Authenticate(Action onSuccess, Action <Warning> onWarning, Action <Error> onError)
        {
            if (AGUtils.IsNotAndroid())
            {
                return;
            }

            GoldfingerAJO.Call("authenticate", new FingerprintCallback(str => onSuccess(), onWarning, onError));
        }