예제 #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
        });
예제 #2
0
 public string GetLocalAuthLabelText()
 {
     Biometrics.LocalAuthType localAuthType = GetLocalAuthType();
     return(localAuthType.ToString());
 }