public void OnFailure(CloseResponse p0) { CloseResponse.Extras extras = p0.GetExtras(); BiometricSdkResult result = new BiometricSdkResult(extras.IdState, extras.StateName, false, string.Empty, string.Empty, string.Empty, extras.AdditionalProp1); this.biometricResultTask = result; }
public void OnSuccess(CloseResponse p0, int p1, string p2) { CloseResponse.Extras extras = p0.GetExtras(); bool succesful = extras.IdState == "2"; BiometricSdkResult result = new BiometricSdkResult(extras.IdState, extras.StateName, succesful, string.Empty, string.Empty, string.Empty, extras.AdditionalProp1); this.biometricResultTask = result; }