Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Getting current screen lock option?

Palo_spPalo_sp Member ✭✭
edited May 2019 in Xamarin.Android

How can I get what screen lock option is currently set? I know I can use KeyguardManager with
isDeviceSecure() - Returns whether the device is secured with a PIN, pattern or password.
But is there some way to find out what exact option is used?

Best Answer


  • Palo_spPalo_sp Member ✭✭

    Now I am wondering if you get me right.. I just want to know what is used.. not implement anything. Some function that returning string or enum with just PIN, pattern or password.

Sign In or Register to comment.