java.lang.Object | |
↳ | cyanogenmod.profiles.LockSettings |
The LockSettings
class allows for overriding and setting the
current Lock screen state/security level. Value should be one a constant from
of Profile.LockMode
Example for disabling lockscreen security:
LockSettings lock = new LockSettings(Profile.LockMode.INSECURE); profile.setScreenLockMode(lock);
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Unwrap
LockSettings from a parcel.
| |||||||||||
Construct a
LockSettings with a default value of ERROR(/Profile.LockMode.DEFAULT) .
| |||||||||||
Construct a
LockSettings with a default value.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the value for the
LockSettings
| |||||||||||
Set the value for the
LockSettings
see Profile.LockMode
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Construct a LockSettings
with a default value of ERROR(/Profile.LockMode.DEFAULT)
.
Get the value for the LockSettings
Profile.LockMode
Set the value for the LockSettings
see Profile.LockMode