Documentation
¶
Overview ¶
Package devicelock provides Go bindings for android.devicelock.
Index ¶
Constants ¶
View Source
const ( DeviceLockRoleFinancing = consts.DeviceLockRoleFinancing DeviceIdTypeImei = consts.DeviceIdTypeImei DeviceIdTypeMeid = consts.DeviceIdTypeMeid )
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.
func (*DeviceLockManager) ToString ¶ added in v0.0.8
func (m *DeviceLockManager) ToString() (string, error)
ToString calls android.devicelock.DeviceLockManager.toString.
Click to show internal directories.
Click to hide internal directories.