Documentation
¶
Overview ¶
Package devicelock provides Go bindings for android.devicelock.
Index ¶
Constants ¶
View Source
const ( DeviceIdTypeImei = consts.DeviceIdTypeImei DeviceIdTypeMeid = consts.DeviceIdTypeMeid DeviceLockRoleFinancing = consts.DeviceLockRoleFinancing )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeviceId ¶
DeviceId wraps android.devicelock.DeviceId.
type DeviceLockManager ¶
DeviceLockManager wraps android.devicelock.DeviceLockManager.
func NewDeviceLockManager ¶
func NewDeviceLockManager(ctx *app.Context) (*DeviceLockManager, error)
NewDeviceLockManager obtains android.devicelock.DeviceLockManager from the Android system service manager.
func (*DeviceLockManager) Close ¶
func (m *DeviceLockManager) Close()
Close releases the global reference to the underlying Java object. After Close, the DeviceLockManager must not be used.
Click to show internal directories.
Click to hide internal directories.