API to check if BlackBerry device is password-protected
Is there an API to check if the device is currently password-protected?
I can only allow caching server login keys on the device if the device itself is password protec开发者_运维问答ted (recommending IT policy to the BES admins is not enough for the customer). Somehow I cannot find the suitable API call(s), looking up and down through the documentation and APIs.
Found it.
net.rim.device.api.system.DeviceInfo.isPasswordEnabled()
精彩评论