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?
You need to get the source code of the device to implement monitoring lock option.It‘ll be hard to make it and the not in common use. Because for various brands of mobile phones, the way to lock the screen and the code for setting the lock screen are different.
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.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies