Documentation
¶
Overview ¶
Package blob provides Go bindings for android.app.blob.
Index ¶
- func Init(env *jni.Env) error
- type StoreManager
- func (m *StoreManager) AbandonSession(arg0 int64) error
- func (m *StoreManager) AcquireLease2(arg0 *jni.Object, arg1 int32) error
- func (m *StoreManager) AcquireLease2_2(arg0 *jni.Object, arg1 string) error
- func (m *StoreManager) AcquireLease3_1(arg0 *jni.Object, arg1 int32, arg2 int64) error
- func (m *StoreManager) AcquireLease3_3(arg0 *jni.Object, arg1 string, arg2 int64) error
- func (m *StoreManager) Close()
- func (m *StoreManager) CreateSession(arg0 *jni.Object) (int64, error)
- func (m *StoreManager) GetLeasedBlobs() (*jni.Object, error)
- func (m *StoreManager) GetRemainingLeaseQuotaBytes() (int64, error)
- func (m *StoreManager) OpenBlob(arg0 *jni.Object) (*jni.Object, error)
- func (m *StoreManager) OpenSession(arg0 int64) (*jni.Object, error)
- func (m *StoreManager) ReleaseLease(arg0 *jni.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StoreManager ¶ added in v0.0.4
StoreManager wraps android.app.blob.BlobStoreManager.
func NewStoreManager ¶ added in v0.0.4
func NewStoreManager(ctx *app.Context) (*StoreManager, error)
NewStoreManager obtains android.app.blob.BlobStoreManager from the Android system service manager.
func (*StoreManager) AbandonSession ¶ added in v0.0.4
func (m *StoreManager) AbandonSession(arg0 int64) error
AbandonSession calls android.app.blob.BlobStoreManager.abandonSession.
func (*StoreManager) AcquireLease2 ¶ added in v0.0.4
func (m *StoreManager) AcquireLease2(arg0 *jni.Object, arg1 int32) error
AcquireLease2 calls android.app.blob.BlobStoreManager.acquireLease.
func (*StoreManager) AcquireLease2_2 ¶ added in v0.0.4
func (m *StoreManager) AcquireLease2_2(arg0 *jni.Object, arg1 string) error
AcquireLease2_2 calls android.app.blob.BlobStoreManager.acquireLease.
func (*StoreManager) AcquireLease3_1 ¶ added in v0.0.4
AcquireLease3_1 calls android.app.blob.BlobStoreManager.acquireLease.
func (*StoreManager) AcquireLease3_3 ¶ added in v0.0.4
AcquireLease3_3 calls android.app.blob.BlobStoreManager.acquireLease.
func (*StoreManager) Close ¶ added in v0.0.4
func (m *StoreManager) Close()
Close releases the global reference to the underlying Java object. After Close, the StoreManager must not be used.
func (*StoreManager) CreateSession ¶ added in v0.0.4
func (m *StoreManager) CreateSession(arg0 *jni.Object) (int64, error)
CreateSession calls android.app.blob.BlobStoreManager.createSession.
func (*StoreManager) GetLeasedBlobs ¶ added in v0.0.4
func (m *StoreManager) GetLeasedBlobs() (*jni.Object, error)
GetLeasedBlobs calls android.app.blob.BlobStoreManager.getLeasedBlobs.
func (*StoreManager) GetRemainingLeaseQuotaBytes ¶ added in v0.0.4
func (m *StoreManager) GetRemainingLeaseQuotaBytes() (int64, error)
GetRemainingLeaseQuotaBytes calls android.app.blob.BlobStoreManager.getRemainingLeaseQuotaBytes.
func (*StoreManager) OpenBlob ¶ added in v0.0.4
OpenBlob calls android.app.blob.BlobStoreManager.openBlob.
func (*StoreManager) OpenSession ¶ added in v0.0.4
func (m *StoreManager) OpenSession(arg0 int64) (*jni.Object, error)
OpenSession calls android.app.blob.BlobStoreManager.openSession.
func (*StoreManager) ReleaseLease ¶ added in v0.0.4
func (m *StoreManager) ReleaseLease(arg0 *jni.Object) error
ReleaseLease calls android.app.blob.BlobStoreManager.releaseLease.