Example #1
0
    public string GetLocalAuthIcon()
    {
        Biometrics.LocalAuthType localAuthType = GetLocalAuthType();

        return(localAuthType switch
        {
            Biometrics.LocalAuthType.PassCode => "LockIcon",
            Biometrics.LocalAuthType.TouchId => "TouchIdIcon",
            Biometrics.LocalAuthType.FaceId => "FaceIdIcon",
            _ => string.Empty
        });
Example #2
0
 public string GetLocalAuthLabelText()
 {
     Biometrics.LocalAuthType localAuthType = GetLocalAuthType();
     return(localAuthType.ToString());
 }