Documentation
¶
Overview ¶
Package persistentdata provides Go bindings for android.service.persistentdata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PersistentDataBlockManager ¶
PersistentDataBlockManager wraps android.service.persistentdata.PersistentDataBlockManager.
func NewPersistentDataBlockManager ¶
func NewPersistentDataBlockManager(ctx *app.Context) (*PersistentDataBlockManager, error)
NewPersistentDataBlockManager obtains android.service.persistentdata.PersistentDataBlockManager from the Android system service manager.
func (*PersistentDataBlockManager) Close ¶
func (m *PersistentDataBlockManager) Close()
Close releases the global reference to the underlying Java object. After Close, the PersistentDataBlockManager must not be used.
func (*PersistentDataBlockManager) IsFactoryResetProtectionActive ¶
func (m *PersistentDataBlockManager) IsFactoryResetProtectionActive() (bool, error)
IsFactoryResetProtectionActive calls android.service.persistentdata.PersistentDataBlockManager.isFactoryResetProtectionActive.
Click to show internal directories.
Click to hide internal directories.