database

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package database provides Go bindings for android.database.

Index

Constants

View Source
const (
	StatementAbort      = consts.StatementAbort
	StatementAttach     = consts.StatementAttach
	StatementBegin      = consts.StatementBegin
	StatementCommit     = consts.StatementCommit
	StatementDdl        = consts.StatementDdl
	StatementOther      = consts.StatementOther
	StatementPragma     = consts.StatementPragma
	StatementSelect     = consts.StatementSelect
	StatementUnprepared = consts.StatementUnprepared
	StatementUpdate     = consts.StatementUpdate
	Creator             = consts.Creator
	Both                = consts.Both
	Left                = consts.Left
	Right               = consts.Right
)

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

Types

type AbstractCursor

type AbstractCursor struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AbstractCursor wraps android.database.AbstractCursor.

func (*AbstractCursor) Close

func (m *AbstractCursor) Close() error

Close calls android.database.AbstractCursor.close.

func (*AbstractCursor) CopyStringToBuffer

func (m *AbstractCursor) CopyStringToBuffer(arg0 int32, arg1 *jni.Object) error

CopyStringToBuffer calls android.database.AbstractCursor.copyStringToBuffer.

func (*AbstractCursor) Deactivate

func (m *AbstractCursor) Deactivate() error

Deactivate calls android.database.AbstractCursor.deactivate.

func (*AbstractCursor) FillWindow

func (m *AbstractCursor) FillWindow(arg0 int32, arg1 *jni.Object) error

FillWindow calls android.database.AbstractCursor.fillWindow.

func (*AbstractCursor) GetBlob

func (m *AbstractCursor) GetBlob(arg0 int32) (*jni.Object, error)

GetBlob calls android.database.AbstractCursor.getBlob.

func (*AbstractCursor) GetColumnCount

func (m *AbstractCursor) GetColumnCount() (int32, error)

GetColumnCount calls android.database.AbstractCursor.getColumnCount.

func (*AbstractCursor) GetColumnIndex

func (m *AbstractCursor) GetColumnIndex(arg0 string) (int32, error)

GetColumnIndex calls android.database.AbstractCursor.getColumnIndex.

func (*AbstractCursor) GetColumnIndexOrThrow

func (m *AbstractCursor) GetColumnIndexOrThrow(arg0 string) (int32, error)

GetColumnIndexOrThrow calls android.database.AbstractCursor.getColumnIndexOrThrow.

func (*AbstractCursor) GetColumnName

func (m *AbstractCursor) GetColumnName(arg0 int32) (string, error)

GetColumnName calls android.database.AbstractCursor.getColumnName.

func (*AbstractCursor) GetColumnNames

func (m *AbstractCursor) GetColumnNames() (*jni.Object, error)

GetColumnNames calls android.database.AbstractCursor.getColumnNames.

func (*AbstractCursor) GetCount

func (m *AbstractCursor) GetCount() (int32, error)

GetCount calls android.database.AbstractCursor.getCount.

func (*AbstractCursor) GetDouble

func (m *AbstractCursor) GetDouble(arg0 int32) (float64, error)

GetDouble calls android.database.AbstractCursor.getDouble.

func (*AbstractCursor) GetExtras

func (m *AbstractCursor) GetExtras() (*jni.Object, error)

GetExtras calls android.database.AbstractCursor.getExtras.

func (*AbstractCursor) GetFloat

func (m *AbstractCursor) GetFloat(arg0 int32) (float32, error)

GetFloat calls android.database.AbstractCursor.getFloat.

func (*AbstractCursor) GetInt

func (m *AbstractCursor) GetInt(arg0 int32) (int32, error)

GetInt calls android.database.AbstractCursor.getInt.

func (*AbstractCursor) GetLong

func (m *AbstractCursor) GetLong(arg0 int32) (int64, error)

GetLong calls android.database.AbstractCursor.getLong.

func (*AbstractCursor) GetNotificationUri

func (m *AbstractCursor) GetNotificationUri() (*jni.Object, error)

GetNotificationUri calls android.database.AbstractCursor.getNotificationUri.

func (*AbstractCursor) GetNotificationUris added in v0.0.8

func (m *AbstractCursor) GetNotificationUris() (*jni.Object, error)

GetNotificationUris calls android.database.AbstractCursor.getNotificationUris.

func (*AbstractCursor) GetPosition

func (m *AbstractCursor) GetPosition() (int32, error)

GetPosition calls android.database.AbstractCursor.getPosition.

func (*AbstractCursor) GetShort

func (m *AbstractCursor) GetShort(arg0 int32) (int16, error)

GetShort calls android.database.AbstractCursor.getShort.

func (*AbstractCursor) GetString

func (m *AbstractCursor) GetString(arg0 int32) (string, error)

GetString calls android.database.AbstractCursor.getString.

func (*AbstractCursor) GetType

func (m *AbstractCursor) GetType(arg0 int32) (int32, error)

GetType calls android.database.AbstractCursor.getType.

func (*AbstractCursor) GetWantsAllOnMoveCalls

func (m *AbstractCursor) GetWantsAllOnMoveCalls() (bool, error)

GetWantsAllOnMoveCalls calls android.database.AbstractCursor.getWantsAllOnMoveCalls.

func (*AbstractCursor) GetWindow

func (m *AbstractCursor) GetWindow() (*jni.Object, error)

GetWindow calls android.database.AbstractCursor.getWindow.

func (*AbstractCursor) IsAfterLast

func (m *AbstractCursor) IsAfterLast() (bool, error)

IsAfterLast calls android.database.AbstractCursor.isAfterLast.

func (*AbstractCursor) IsBeforeFirst

func (m *AbstractCursor) IsBeforeFirst() (bool, error)

IsBeforeFirst calls android.database.AbstractCursor.isBeforeFirst.

func (*AbstractCursor) IsClosed

func (m *AbstractCursor) IsClosed() (bool, error)

IsClosed calls android.database.AbstractCursor.isClosed.

func (*AbstractCursor) IsFirst

func (m *AbstractCursor) IsFirst() (bool, error)

IsFirst calls android.database.AbstractCursor.isFirst.

func (*AbstractCursor) IsLast

func (m *AbstractCursor) IsLast() (bool, error)

IsLast calls android.database.AbstractCursor.isLast.

func (*AbstractCursor) IsNull

func (m *AbstractCursor) IsNull(arg0 int32) (bool, error)

IsNull calls android.database.AbstractCursor.isNull.

func (*AbstractCursor) Move

func (m *AbstractCursor) Move(arg0 int32) (bool, error)

Move calls android.database.AbstractCursor.move.

func (*AbstractCursor) MoveToFirst

func (m *AbstractCursor) MoveToFirst() (bool, error)

MoveToFirst calls android.database.AbstractCursor.moveToFirst.

func (*AbstractCursor) MoveToLast

func (m *AbstractCursor) MoveToLast() (bool, error)

MoveToLast calls android.database.AbstractCursor.moveToLast.

func (*AbstractCursor) MoveToNext

func (m *AbstractCursor) MoveToNext() (bool, error)

MoveToNext calls android.database.AbstractCursor.moveToNext.

func (*AbstractCursor) MoveToPosition

func (m *AbstractCursor) MoveToPosition(arg0 int32) (bool, error)

MoveToPosition calls android.database.AbstractCursor.moveToPosition.

func (*AbstractCursor) MoveToPrevious

func (m *AbstractCursor) MoveToPrevious() (bool, error)

MoveToPrevious calls android.database.AbstractCursor.moveToPrevious.

func (*AbstractCursor) OnMove

func (m *AbstractCursor) OnMove(arg0 int32, arg1 int32) (bool, error)

OnMove calls android.database.AbstractCursor.onMove.

func (*AbstractCursor) RegisterContentObserver

func (m *AbstractCursor) RegisterContentObserver(arg0 *jni.Object) error

RegisterContentObserver calls android.database.AbstractCursor.registerContentObserver.

func (*AbstractCursor) RegisterDataSetObserver

func (m *AbstractCursor) RegisterDataSetObserver(arg0 *jni.Object) error

RegisterDataSetObserver calls android.database.AbstractCursor.registerDataSetObserver.

func (*AbstractCursor) Requery

func (m *AbstractCursor) Requery() (bool, error)

Requery calls android.database.AbstractCursor.requery.

func (*AbstractCursor) Respond

func (m *AbstractCursor) Respond(arg0 *jni.Object) (*jni.Object, error)

Respond calls android.database.AbstractCursor.respond.

func (*AbstractCursor) SetExtras

func (m *AbstractCursor) SetExtras(arg0 *jni.Object) error

SetExtras calls android.database.AbstractCursor.setExtras.

func (*AbstractCursor) SetNotificationUri

func (m *AbstractCursor) SetNotificationUri(arg0 *jni.Object, arg1 *jni.Object) error

SetNotificationUri calls android.database.AbstractCursor.setNotificationUri.

func (*AbstractCursor) ToString added in v0.0.8

func (m *AbstractCursor) ToString() (string, error)

ToString calls android.database.AbstractCursor.toString.

func (*AbstractCursor) UnregisterContentObserver

func (m *AbstractCursor) UnregisterContentObserver(arg0 *jni.Object) error

UnregisterContentObserver calls android.database.AbstractCursor.unregisterContentObserver.

func (*AbstractCursor) UnregisterDataSetObserver

func (m *AbstractCursor) UnregisterDataSetObserver(arg0 *jni.Object) error

UnregisterDataSetObserver calls android.database.AbstractCursor.unregisterDataSetObserver.

type AbstractCursorSelfContentObserver

type AbstractCursorSelfContentObserver struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AbstractCursorSelfContentObserver wraps android.database.AbstractCursor$SelfContentObserver.

func (*AbstractCursorSelfContentObserver) DeliverSelfNotifications

func (m *AbstractCursorSelfContentObserver) DeliverSelfNotifications() (bool, error)

DeliverSelfNotifications calls android.database.AbstractCursor$SelfContentObserver.deliverSelfNotifications.

func (*AbstractCursorSelfContentObserver) OnChange

func (m *AbstractCursorSelfContentObserver) OnChange(arg0 bool) error

OnChange calls android.database.AbstractCursor$SelfContentObserver.onChange.

func (*AbstractCursorSelfContentObserver) ToString added in v0.0.8

ToString calls android.database.AbstractCursor$SelfContentObserver.toString.

type AbstractWindowedCursor

type AbstractWindowedCursor struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AbstractWindowedCursor wraps android.database.AbstractWindowedCursor.

func (*AbstractWindowedCursor) CopyStringToBuffer

func (m *AbstractWindowedCursor) CopyStringToBuffer(arg0 int32, arg1 *jni.Object) error

CopyStringToBuffer calls android.database.AbstractWindowedCursor.copyStringToBuffer.

func (*AbstractWindowedCursor) GetBlob

func (m *AbstractWindowedCursor) GetBlob(arg0 int32) (*jni.Object, error)

GetBlob calls android.database.AbstractWindowedCursor.getBlob.

func (*AbstractWindowedCursor) GetDouble

func (m *AbstractWindowedCursor) GetDouble(arg0 int32) (float64, error)

GetDouble calls android.database.AbstractWindowedCursor.getDouble.

func (*AbstractWindowedCursor) GetFloat

func (m *AbstractWindowedCursor) GetFloat(arg0 int32) (float32, error)

GetFloat calls android.database.AbstractWindowedCursor.getFloat.

func (*AbstractWindowedCursor) GetInt

func (m *AbstractWindowedCursor) GetInt(arg0 int32) (int32, error)

GetInt calls android.database.AbstractWindowedCursor.getInt.

func (*AbstractWindowedCursor) GetLong

func (m *AbstractWindowedCursor) GetLong(arg0 int32) (int64, error)

GetLong calls android.database.AbstractWindowedCursor.getLong.

func (*AbstractWindowedCursor) GetShort

func (m *AbstractWindowedCursor) GetShort(arg0 int32) (int16, error)

GetShort calls android.database.AbstractWindowedCursor.getShort.

func (*AbstractWindowedCursor) GetString

func (m *AbstractWindowedCursor) GetString(arg0 int32) (string, error)

GetString calls android.database.AbstractWindowedCursor.getString.

func (*AbstractWindowedCursor) GetType

func (m *AbstractWindowedCursor) GetType(arg0 int32) (int32, error)

GetType calls android.database.AbstractWindowedCursor.getType.

func (*AbstractWindowedCursor) GetWindow

func (m *AbstractWindowedCursor) GetWindow() (*jni.Object, error)

GetWindow calls android.database.AbstractWindowedCursor.getWindow.

func (*AbstractWindowedCursor) HasWindow

func (m *AbstractWindowedCursor) HasWindow() (bool, error)

HasWindow calls android.database.AbstractWindowedCursor.hasWindow.

func (*AbstractWindowedCursor) IsBlob

func (m *AbstractWindowedCursor) IsBlob(arg0 int32) (bool, error)

IsBlob calls android.database.AbstractWindowedCursor.isBlob.

func (*AbstractWindowedCursor) IsFloat

func (m *AbstractWindowedCursor) IsFloat(arg0 int32) (bool, error)

IsFloat calls android.database.AbstractWindowedCursor.isFloat.

func (*AbstractWindowedCursor) IsLong

func (m *AbstractWindowedCursor) IsLong(arg0 int32) (bool, error)

IsLong calls android.database.AbstractWindowedCursor.isLong.

func (*AbstractWindowedCursor) IsNull

func (m *AbstractWindowedCursor) IsNull(arg0 int32) (bool, error)

IsNull calls android.database.AbstractWindowedCursor.isNull.

func (*AbstractWindowedCursor) IsString

func (m *AbstractWindowedCursor) IsString(arg0 int32) (bool, error)

IsString calls android.database.AbstractWindowedCursor.isString.

func (*AbstractWindowedCursor) SetWindow

func (m *AbstractWindowedCursor) SetWindow(arg0 *jni.Object) error

SetWindow calls android.database.AbstractWindowedCursor.setWindow.

func (*AbstractWindowedCursor) ToString added in v0.0.8

func (m *AbstractWindowedCursor) ToString() (string, error)

ToString calls android.database.AbstractWindowedCursor.toString.

type CharArrayBuffer

type CharArrayBuffer struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CharArrayBuffer wraps android.database.CharArrayBuffer.

func NewCharArrayBuffer

func NewCharArrayBuffer(vm *jni.VM, arg0 *jni.Object) (*CharArrayBuffer, error)

NewCharArrayBuffer creates a new android.database.CharArrayBuffer instance.

func (*CharArrayBuffer) ToString added in v0.0.8

func (m *CharArrayBuffer) ToString() (string, error)

ToString calls android.database.CharArrayBuffer.toString.

type ContentObservable

type ContentObservable struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ContentObservable wraps android.database.ContentObservable.

func NewContentObservable

func NewContentObservable(vm *jni.VM) (*ContentObservable, error)

NewContentObservable creates a new android.database.ContentObservable instance.

func (*ContentObservable) DispatchChange1

func (m *ContentObservable) DispatchChange1(arg0 bool) error

DispatchChange1 calls android.database.ContentObservable.dispatchChange.

func (*ContentObservable) DispatchChange2_1

func (m *ContentObservable) DispatchChange2_1(arg0 bool, arg1 *jni.Object) error

DispatchChange2_1 calls android.database.ContentObservable.dispatchChange.

func (*ContentObservable) NotifyChange

func (m *ContentObservable) NotifyChange(arg0 bool) error

NotifyChange calls android.database.ContentObservable.notifyChange.

func (*ContentObservable) RegisterObserver1

func (m *ContentObservable) RegisterObserver1(arg0 *jni.Object) error

RegisterObserver1 calls android.database.ContentObservable.registerObserver.

func (*ContentObservable) RegisterObserver1_1

func (m *ContentObservable) RegisterObserver1_1(arg0 *jni.Object) error

RegisterObserver1_1 calls android.database.ContentObservable.registerObserver.

func (*ContentObservable) ToString added in v0.0.8

func (m *ContentObservable) ToString() (string, error)

ToString calls android.database.ContentObservable.toString.

type ContentObserver

type ContentObserver struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ContentObserver wraps android.database.ContentObserver.

func (*ContentObserver) DeliverSelfNotifications

func (m *ContentObserver) DeliverSelfNotifications() (bool, error)

DeliverSelfNotifications calls android.database.ContentObserver.deliverSelfNotifications.

func (*ContentObserver) DispatchChange1

func (m *ContentObserver) DispatchChange1(arg0 bool) error

DispatchChange1 calls android.database.ContentObserver.dispatchChange.

func (*ContentObserver) DispatchChange2_1

func (m *ContentObserver) DispatchChange2_1(arg0 bool, arg1 *jni.Object) error

DispatchChange2_1 calls android.database.ContentObserver.dispatchChange.

func (*ContentObserver) DispatchChange3_2

func (m *ContentObserver) DispatchChange3_2(
	arg0 bool,
	arg1 *jni.Object,
	arg2 int32,
) error

DispatchChange3_2 calls android.database.ContentObserver.dispatchChange.

func (*ContentObserver) OnChange1

func (m *ContentObserver) OnChange1(arg0 bool) error

OnChange1 calls android.database.ContentObserver.onChange.

func (*ContentObserver) OnChange2_1

func (m *ContentObserver) OnChange2_1(arg0 bool, arg1 *jni.Object) error

OnChange2_1 calls android.database.ContentObserver.onChange.

func (*ContentObserver) OnChange3_2

func (m *ContentObserver) OnChange3_2(
	arg0 bool,
	arg1 *jni.Object,
	arg2 int32,
) error

OnChange3_2 calls android.database.ContentObserver.onChange.

func (*ContentObserver) ToString added in v0.0.8

func (m *ContentObserver) ToString() (string, error)

ToString calls android.database.ContentObserver.toString.

type CrossProcessCursor

type CrossProcessCursor struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CrossProcessCursor wraps android.database.CrossProcessCursor.

func (*CrossProcessCursor) FillWindow

func (m *CrossProcessCursor) FillWindow(arg0 int32, arg1 *jni.Object) error

FillWindow calls android.database.CrossProcessCursor.fillWindow.

func (*CrossProcessCursor) GetWindow

func (m *CrossProcessCursor) GetWindow() (*jni.Object, error)

GetWindow calls android.database.CrossProcessCursor.getWindow.

func (*CrossProcessCursor) OnMove

func (m *CrossProcessCursor) OnMove(arg0 int32, arg1 int32) (bool, error)

OnMove calls android.database.CrossProcessCursor.onMove.

func (*CrossProcessCursor) ToString added in v0.0.8

func (m *CrossProcessCursor) ToString() (string, error)

ToString calls android.database.CrossProcessCursor.toString.

type CrossProcessCursorWrapper

type CrossProcessCursorWrapper struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CrossProcessCursorWrapper wraps android.database.CrossProcessCursorWrapper.

func NewCrossProcessCursorWrapper

func NewCrossProcessCursorWrapper(vm *jni.VM, arg0 *jni.Object) (*CrossProcessCursorWrapper, error)

NewCrossProcessCursorWrapper creates a new android.database.CrossProcessCursorWrapper instance.

func (*CrossProcessCursorWrapper) FillWindow

func (m *CrossProcessCursorWrapper) FillWindow(arg0 int32, arg1 *jni.Object) error

FillWindow calls android.database.CrossProcessCursorWrapper.fillWindow.

func (*CrossProcessCursorWrapper) GetWindow

func (m *CrossProcessCursorWrapper) GetWindow() (*jni.Object, error)

GetWindow calls android.database.CrossProcessCursorWrapper.getWindow.

func (*CrossProcessCursorWrapper) OnMove

func (m *CrossProcessCursorWrapper) OnMove(arg0 int32, arg1 int32) (bool, error)

OnMove calls android.database.CrossProcessCursorWrapper.onMove.

func (*CrossProcessCursorWrapper) ToString added in v0.0.8

func (m *CrossProcessCursorWrapper) ToString() (string, error)

ToString calls android.database.CrossProcessCursorWrapper.toString.

type CursorIndexOutOfBoundsException

type CursorIndexOutOfBoundsException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CursorIndexOutOfBoundsException wraps android.database.CursorIndexOutOfBoundsException.

func NewCursorIndexOutOfBoundsException

func NewCursorIndexOutOfBoundsException(vm *jni.VM, arg0 int32, arg1 int32) (*CursorIndexOutOfBoundsException, error)

NewCursorIndexOutOfBoundsException creates a new android.database.CursorIndexOutOfBoundsException instance.

func (*CursorIndexOutOfBoundsException) ToString added in v0.0.8

func (m *CursorIndexOutOfBoundsException) ToString() (string, error)

ToString calls android.database.CursorIndexOutOfBoundsException.toString.

type CursorJoiner

type CursorJoiner struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CursorJoiner wraps android.database.CursorJoiner.

func NewCursorJoiner

func NewCursorJoiner(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) (*CursorJoiner, error)

NewCursorJoiner creates a new android.database.CursorJoiner instance.

func (*CursorJoiner) HasNext

func (m *CursorJoiner) HasNext() (bool, error)

HasNext calls android.database.CursorJoiner.hasNext.

func (*CursorJoiner) Iterator added in v0.0.8

func (m *CursorJoiner) Iterator() (*jni.Object, error)

Iterator calls android.database.CursorJoiner.iterator.

func (*CursorJoiner) Next0

func (m *CursorJoiner) Next0() (*jni.Object, error)

Next0 calls android.database.CursorJoiner.next.

func (*CursorJoiner) Next0_1

func (m *CursorJoiner) Next0_1() (*jni.Object, error)

Next0_1 calls android.database.CursorJoiner.next.

func (*CursorJoiner) Remove

func (m *CursorJoiner) Remove() error

Remove calls android.database.CursorJoiner.remove.

func (*CursorJoiner) ToString added in v0.0.8

func (m *CursorJoiner) ToString() (string, error)

ToString calls android.database.CursorJoiner.toString.

type CursorJoinerResult

type CursorJoinerResult struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CursorJoinerResult wraps android.database.CursorJoiner$Result.

func (*CursorJoinerResult) ToString added in v0.0.8

func (m *CursorJoinerResult) ToString() (string, error)

ToString calls android.database.CursorJoiner$Result.toString.

func (*CursorJoinerResult) ValueOf

func (m *CursorJoinerResult) ValueOf(arg0 string) (*jni.Object, error)

ValueOf calls android.database.CursorJoiner$Result.valueOf.

func (*CursorJoinerResult) Values

func (m *CursorJoinerResult) Values() (*jni.Object, error)

Values calls android.database.CursorJoiner$Result.values.

type CursorWindow

type CursorWindow struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CursorWindow wraps android.database.CursorWindow.

func NewCursorWindow

func NewCursorWindow(vm *jni.VM, arg0 bool) (*CursorWindow, error)

NewCursorWindow creates a new android.database.CursorWindow instance.

func (*CursorWindow) AllocRow

func (m *CursorWindow) AllocRow() (bool, error)

AllocRow calls android.database.CursorWindow.allocRow.

func (*CursorWindow) Clear

func (m *CursorWindow) Clear() error

Clear calls android.database.CursorWindow.clear.

func (*CursorWindow) CopyStringToBuffer

func (m *CursorWindow) CopyStringToBuffer(
	arg0 int32,
	arg1 int32,
	arg2 *jni.Object,
) error

CopyStringToBuffer calls android.database.CursorWindow.copyStringToBuffer.

func (*CursorWindow) DescribeContents

func (m *CursorWindow) DescribeContents() (int32, error)

DescribeContents calls android.database.CursorWindow.describeContents.

func (*CursorWindow) FreeLastRow

func (m *CursorWindow) FreeLastRow() error

FreeLastRow calls android.database.CursorWindow.freeLastRow.

func (*CursorWindow) GetBlob

func (m *CursorWindow) GetBlob(arg0 int32, arg1 int32) (*jni.Object, error)

GetBlob calls android.database.CursorWindow.getBlob.

func (*CursorWindow) GetDouble

func (m *CursorWindow) GetDouble(arg0 int32, arg1 int32) (float64, error)

GetDouble calls android.database.CursorWindow.getDouble.

func (*CursorWindow) GetFloat

func (m *CursorWindow) GetFloat(arg0 int32, arg1 int32) (float32, error)

GetFloat calls android.database.CursorWindow.getFloat.

func (*CursorWindow) GetInt

func (m *CursorWindow) GetInt(arg0 int32, arg1 int32) (int32, error)

GetInt calls android.database.CursorWindow.getInt.

func (*CursorWindow) GetLong

func (m *CursorWindow) GetLong(arg0 int32, arg1 int32) (int64, error)

GetLong calls android.database.CursorWindow.getLong.

func (*CursorWindow) GetNumRows

func (m *CursorWindow) GetNumRows() (int32, error)

GetNumRows calls android.database.CursorWindow.getNumRows.

func (*CursorWindow) GetShort

func (m *CursorWindow) GetShort(arg0 int32, arg1 int32) (int16, error)

GetShort calls android.database.CursorWindow.getShort.

func (*CursorWindow) GetStartPosition

func (m *CursorWindow) GetStartPosition() (int32, error)

GetStartPosition calls android.database.CursorWindow.getStartPosition.

func (*CursorWindow) GetString

func (m *CursorWindow) GetString(arg0 int32, arg1 int32) (string, error)

GetString calls android.database.CursorWindow.getString.

func (*CursorWindow) GetType

func (m *CursorWindow) GetType(arg0 int32, arg1 int32) (int32, error)

GetType calls android.database.CursorWindow.getType.

func (*CursorWindow) IsBlob

func (m *CursorWindow) IsBlob(arg0 int32, arg1 int32) (bool, error)

IsBlob calls android.database.CursorWindow.isBlob.

func (*CursorWindow) IsFloat

func (m *CursorWindow) IsFloat(arg0 int32, arg1 int32) (bool, error)

IsFloat calls android.database.CursorWindow.isFloat.

func (*CursorWindow) IsLong

func (m *CursorWindow) IsLong(arg0 int32, arg1 int32) (bool, error)

IsLong calls android.database.CursorWindow.isLong.

func (*CursorWindow) IsNull

func (m *CursorWindow) IsNull(arg0 int32, arg1 int32) (bool, error)

IsNull calls android.database.CursorWindow.isNull.

func (*CursorWindow) IsString

func (m *CursorWindow) IsString(arg0 int32, arg1 int32) (bool, error)

IsString calls android.database.CursorWindow.isString.

func (*CursorWindow) NewFromParcel

func (m *CursorWindow) NewFromParcel(arg0 *jni.Object) (*jni.Object, error)

NewFromParcel calls android.database.CursorWindow.newFromParcel.

func (*CursorWindow) PutBlob

func (m *CursorWindow) PutBlob(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
) (bool, error)

PutBlob calls android.database.CursorWindow.putBlob.

func (*CursorWindow) PutDouble

func (m *CursorWindow) PutDouble(
	arg0 float64,
	arg1 int32,
	arg2 int32,
) (bool, error)

PutDouble calls android.database.CursorWindow.putDouble.

func (*CursorWindow) PutLong

func (m *CursorWindow) PutLong(
	arg0 int64,
	arg1 int32,
	arg2 int32,
) (bool, error)

PutLong calls android.database.CursorWindow.putLong.

func (*CursorWindow) PutNull

func (m *CursorWindow) PutNull(arg0 int32, arg1 int32) (bool, error)

PutNull calls android.database.CursorWindow.putNull.

func (*CursorWindow) PutString

func (m *CursorWindow) PutString(
	arg0 string,
	arg1 int32,
	arg2 int32,
) (bool, error)

PutString calls android.database.CursorWindow.putString.

func (*CursorWindow) SetNumColumns

func (m *CursorWindow) SetNumColumns(arg0 int32) (bool, error)

SetNumColumns calls android.database.CursorWindow.setNumColumns.

func (*CursorWindow) SetStartPosition

func (m *CursorWindow) SetStartPosition(arg0 int32) error

SetStartPosition calls android.database.CursorWindow.setStartPosition.

func (*CursorWindow) ToString

func (m *CursorWindow) ToString() (string, error)

ToString calls android.database.CursorWindow.toString.

func (*CursorWindow) WriteToParcel

func (m *CursorWindow) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.database.CursorWindow.writeToParcel.

type CursorWindowAllocationException

type CursorWindowAllocationException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CursorWindowAllocationException wraps android.database.CursorWindowAllocationException.

func NewCursorWindowAllocationException

func NewCursorWindowAllocationException(vm *jni.VM, arg0 string) (*CursorWindowAllocationException, error)

NewCursorWindowAllocationException creates a new android.database.CursorWindowAllocationException instance.

func (*CursorWindowAllocationException) ToString added in v0.0.8

func (m *CursorWindowAllocationException) ToString() (string, error)

ToString calls android.database.CursorWindowAllocationException.toString.

type CursorWrapper

type CursorWrapper struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CursorWrapper wraps android.database.CursorWrapper.

func NewCursorWrapper

func NewCursorWrapper(vm *jni.VM, arg0 *jni.Object) (*CursorWrapper, error)

NewCursorWrapper creates a new android.database.CursorWrapper instance.

func (*CursorWrapper) Close

func (m *CursorWrapper) Close() error

Close calls android.database.CursorWrapper.close.

func (*CursorWrapper) CopyStringToBuffer

func (m *CursorWrapper) CopyStringToBuffer(arg0 int32, arg1 *jni.Object) error

CopyStringToBuffer calls android.database.CursorWrapper.copyStringToBuffer.

func (*CursorWrapper) Deactivate

func (m *CursorWrapper) Deactivate() error

Deactivate calls android.database.CursorWrapper.deactivate.

func (*CursorWrapper) GetBlob

func (m *CursorWrapper) GetBlob(arg0 int32) (*jni.Object, error)

GetBlob calls android.database.CursorWrapper.getBlob.

func (*CursorWrapper) GetColumnCount

func (m *CursorWrapper) GetColumnCount() (int32, error)

GetColumnCount calls android.database.CursorWrapper.getColumnCount.

func (*CursorWrapper) GetColumnIndex

func (m *CursorWrapper) GetColumnIndex(arg0 string) (int32, error)

GetColumnIndex calls android.database.CursorWrapper.getColumnIndex.

func (*CursorWrapper) GetColumnIndexOrThrow

func (m *CursorWrapper) GetColumnIndexOrThrow(arg0 string) (int32, error)

GetColumnIndexOrThrow calls android.database.CursorWrapper.getColumnIndexOrThrow.

func (*CursorWrapper) GetColumnName

func (m *CursorWrapper) GetColumnName(arg0 int32) (string, error)

GetColumnName calls android.database.CursorWrapper.getColumnName.

func (*CursorWrapper) GetColumnNames

func (m *CursorWrapper) GetColumnNames() (*jni.Object, error)

GetColumnNames calls android.database.CursorWrapper.getColumnNames.

func (*CursorWrapper) GetCount

func (m *CursorWrapper) GetCount() (int32, error)

GetCount calls android.database.CursorWrapper.getCount.

func (*CursorWrapper) GetDouble

func (m *CursorWrapper) GetDouble(arg0 int32) (float64, error)

GetDouble calls android.database.CursorWrapper.getDouble.

func (*CursorWrapper) GetExtras

func (m *CursorWrapper) GetExtras() (*jni.Object, error)

GetExtras calls android.database.CursorWrapper.getExtras.

func (*CursorWrapper) GetFloat

func (m *CursorWrapper) GetFloat(arg0 int32) (float32, error)

GetFloat calls android.database.CursorWrapper.getFloat.

func (*CursorWrapper) GetInt

func (m *CursorWrapper) GetInt(arg0 int32) (int32, error)

GetInt calls android.database.CursorWrapper.getInt.

func (*CursorWrapper) GetLong

func (m *CursorWrapper) GetLong(arg0 int32) (int64, error)

GetLong calls android.database.CursorWrapper.getLong.

func (*CursorWrapper) GetNotificationUri

func (m *CursorWrapper) GetNotificationUri() (*jni.Object, error)

GetNotificationUri calls android.database.CursorWrapper.getNotificationUri.

func (*CursorWrapper) GetNotificationUris added in v0.0.8

func (m *CursorWrapper) GetNotificationUris() (*jni.Object, error)

GetNotificationUris calls android.database.CursorWrapper.getNotificationUris.

func (*CursorWrapper) GetPosition

func (m *CursorWrapper) GetPosition() (int32, error)

GetPosition calls android.database.CursorWrapper.getPosition.

func (*CursorWrapper) GetShort

func (m *CursorWrapper) GetShort(arg0 int32) (int16, error)

GetShort calls android.database.CursorWrapper.getShort.

func (*CursorWrapper) GetString

func (m *CursorWrapper) GetString(arg0 int32) (string, error)

GetString calls android.database.CursorWrapper.getString.

func (*CursorWrapper) GetType

func (m *CursorWrapper) GetType(arg0 int32) (int32, error)

GetType calls android.database.CursorWrapper.getType.

func (*CursorWrapper) GetWantsAllOnMoveCalls

func (m *CursorWrapper) GetWantsAllOnMoveCalls() (bool, error)

GetWantsAllOnMoveCalls calls android.database.CursorWrapper.getWantsAllOnMoveCalls.

func (*CursorWrapper) GetWrappedCursor

func (m *CursorWrapper) GetWrappedCursor() (*jni.Object, error)

GetWrappedCursor calls android.database.CursorWrapper.getWrappedCursor.

func (*CursorWrapper) IsAfterLast

func (m *CursorWrapper) IsAfterLast() (bool, error)

IsAfterLast calls android.database.CursorWrapper.isAfterLast.

func (*CursorWrapper) IsBeforeFirst

func (m *CursorWrapper) IsBeforeFirst() (bool, error)

IsBeforeFirst calls android.database.CursorWrapper.isBeforeFirst.

func (*CursorWrapper) IsClosed

func (m *CursorWrapper) IsClosed() (bool, error)

IsClosed calls android.database.CursorWrapper.isClosed.

func (*CursorWrapper) IsFirst

func (m *CursorWrapper) IsFirst() (bool, error)

IsFirst calls android.database.CursorWrapper.isFirst.

func (*CursorWrapper) IsLast

func (m *CursorWrapper) IsLast() (bool, error)

IsLast calls android.database.CursorWrapper.isLast.

func (*CursorWrapper) IsNull

func (m *CursorWrapper) IsNull(arg0 int32) (bool, error)

IsNull calls android.database.CursorWrapper.isNull.

func (*CursorWrapper) Move

func (m *CursorWrapper) Move(arg0 int32) (bool, error)

Move calls android.database.CursorWrapper.move.

func (*CursorWrapper) MoveToFirst

func (m *CursorWrapper) MoveToFirst() (bool, error)

MoveToFirst calls android.database.CursorWrapper.moveToFirst.

func (*CursorWrapper) MoveToLast

func (m *CursorWrapper) MoveToLast() (bool, error)

MoveToLast calls android.database.CursorWrapper.moveToLast.

func (*CursorWrapper) MoveToNext

func (m *CursorWrapper) MoveToNext() (bool, error)

MoveToNext calls android.database.CursorWrapper.moveToNext.

func (*CursorWrapper) MoveToPosition

func (m *CursorWrapper) MoveToPosition(arg0 int32) (bool, error)

MoveToPosition calls android.database.CursorWrapper.moveToPosition.

func (*CursorWrapper) MoveToPrevious

func (m *CursorWrapper) MoveToPrevious() (bool, error)

MoveToPrevious calls android.database.CursorWrapper.moveToPrevious.

func (*CursorWrapper) RegisterContentObserver

func (m *CursorWrapper) RegisterContentObserver(arg0 *jni.Object) error

RegisterContentObserver calls android.database.CursorWrapper.registerContentObserver.

func (*CursorWrapper) RegisterDataSetObserver

func (m *CursorWrapper) RegisterDataSetObserver(arg0 *jni.Object) error

RegisterDataSetObserver calls android.database.CursorWrapper.registerDataSetObserver.

func (*CursorWrapper) Requery

func (m *CursorWrapper) Requery() (bool, error)

Requery calls android.database.CursorWrapper.requery.

func (*CursorWrapper) Respond

func (m *CursorWrapper) Respond(arg0 *jni.Object) (*jni.Object, error)

Respond calls android.database.CursorWrapper.respond.

func (*CursorWrapper) SetExtras

func (m *CursorWrapper) SetExtras(arg0 *jni.Object) error

SetExtras calls android.database.CursorWrapper.setExtras.

func (*CursorWrapper) SetNotificationUri

func (m *CursorWrapper) SetNotificationUri(arg0 *jni.Object, arg1 *jni.Object) error

SetNotificationUri calls android.database.CursorWrapper.setNotificationUri.

func (*CursorWrapper) ToString added in v0.0.8

func (m *CursorWrapper) ToString() (string, error)

ToString calls android.database.CursorWrapper.toString.

func (*CursorWrapper) UnregisterContentObserver

func (m *CursorWrapper) UnregisterContentObserver(arg0 *jni.Object) error

UnregisterContentObserver calls android.database.CursorWrapper.unregisterContentObserver.

func (*CursorWrapper) UnregisterDataSetObserver

func (m *CursorWrapper) UnregisterDataSetObserver(arg0 *jni.Object) error

UnregisterDataSetObserver calls android.database.CursorWrapper.unregisterDataSetObserver.

type DataSetObservable

type DataSetObservable struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DataSetObservable wraps android.database.DataSetObservable.

func NewDataSetObservable

func NewDataSetObservable(vm *jni.VM) (*DataSetObservable, error)

NewDataSetObservable creates a new android.database.DataSetObservable instance.

func (*DataSetObservable) NotifyChanged

func (m *DataSetObservable) NotifyChanged() error

NotifyChanged calls android.database.DataSetObservable.notifyChanged.

func (*DataSetObservable) NotifyInvalidated

func (m *DataSetObservable) NotifyInvalidated() error

NotifyInvalidated calls android.database.DataSetObservable.notifyInvalidated.

func (*DataSetObservable) ToString added in v0.0.8

func (m *DataSetObservable) ToString() (string, error)

ToString calls android.database.DataSetObservable.toString.

type DataSetObserver

type DataSetObserver struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DataSetObserver wraps android.database.DataSetObserver.

func (*DataSetObserver) OnChanged

func (m *DataSetObserver) OnChanged() error

OnChanged calls android.database.DataSetObserver.onChanged.

func (*DataSetObserver) OnInvalidated

func (m *DataSetObserver) OnInvalidated() error

OnInvalidated calls android.database.DataSetObserver.onInvalidated.

func (*DataSetObserver) ToString added in v0.0.8

func (m *DataSetObserver) ToString() (string, error)

ToString calls android.database.DataSetObserver.toString.

type DefaultDatabaseErrorHandler

type DefaultDatabaseErrorHandler struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DefaultDatabaseErrorHandler wraps android.database.DefaultDatabaseErrorHandler.

func NewDefaultDatabaseErrorHandler

func NewDefaultDatabaseErrorHandler(vm *jni.VM) (*DefaultDatabaseErrorHandler, error)

NewDefaultDatabaseErrorHandler creates a new android.database.DefaultDatabaseErrorHandler instance.

func (*DefaultDatabaseErrorHandler) OnCorruption

func (m *DefaultDatabaseErrorHandler) OnCorruption(arg0 *jni.Object) error

OnCorruption calls android.database.DefaultDatabaseErrorHandler.onCorruption.

func (*DefaultDatabaseErrorHandler) ToString added in v0.0.8

func (m *DefaultDatabaseErrorHandler) ToString() (string, error)

ToString calls android.database.DefaultDatabaseErrorHandler.toString.

type ErrorHandler

type ErrorHandler struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ErrorHandler wraps android.database.DatabaseErrorHandler.

func (*ErrorHandler) OnCorruption

func (m *ErrorHandler) OnCorruption(arg0 *jni.Object) error

OnCorruption calls android.database.DatabaseErrorHandler.onCorruption.

func (*ErrorHandler) ToString added in v0.0.8

func (m *ErrorHandler) ToString() (string, error)

ToString calls android.database.DatabaseErrorHandler.toString.

type MatrixCursor

type MatrixCursor struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MatrixCursor wraps android.database.MatrixCursor.

func NewMatrixCursor

func NewMatrixCursor(vm *jni.VM, arg0 *jni.Object) (*MatrixCursor, error)

NewMatrixCursor creates a new android.database.MatrixCursor instance.

func (*MatrixCursor) AddRow

func (m *MatrixCursor) AddRow(arg0 *jni.Object) error

AddRow calls android.database.MatrixCursor.addRow.

func (*MatrixCursor) GetBlob

func (m *MatrixCursor) GetBlob(arg0 int32) (*jni.Object, error)

GetBlob calls android.database.MatrixCursor.getBlob.

func (*MatrixCursor) GetColumnNames

func (m *MatrixCursor) GetColumnNames() (*jni.Object, error)

GetColumnNames calls android.database.MatrixCursor.getColumnNames.

func (*MatrixCursor) GetCount

func (m *MatrixCursor) GetCount() (int32, error)

GetCount calls android.database.MatrixCursor.getCount.

func (*MatrixCursor) GetDouble

func (m *MatrixCursor) GetDouble(arg0 int32) (float64, error)

GetDouble calls android.database.MatrixCursor.getDouble.

func (*MatrixCursor) GetFloat

func (m *MatrixCursor) GetFloat(arg0 int32) (float32, error)

GetFloat calls android.database.MatrixCursor.getFloat.

func (*MatrixCursor) GetInt

func (m *MatrixCursor) GetInt(arg0 int32) (int32, error)

GetInt calls android.database.MatrixCursor.getInt.

func (*MatrixCursor) GetLong

func (m *MatrixCursor) GetLong(arg0 int32) (int64, error)

GetLong calls android.database.MatrixCursor.getLong.

func (*MatrixCursor) GetShort

func (m *MatrixCursor) GetShort(arg0 int32) (int16, error)

GetShort calls android.database.MatrixCursor.getShort.

func (*MatrixCursor) GetString

func (m *MatrixCursor) GetString(arg0 int32) (string, error)

GetString calls android.database.MatrixCursor.getString.

func (*MatrixCursor) GetType

func (m *MatrixCursor) GetType(arg0 int32) (int32, error)

GetType calls android.database.MatrixCursor.getType.

func (*MatrixCursor) IsNull

func (m *MatrixCursor) IsNull(arg0 int32) (bool, error)

IsNull calls android.database.MatrixCursor.isNull.

func (*MatrixCursor) NewRow

func (m *MatrixCursor) NewRow() (*jni.Object, error)

NewRow calls android.database.MatrixCursor.newRow.

func (*MatrixCursor) ToString added in v0.0.8

func (m *MatrixCursor) ToString() (string, error)

ToString calls android.database.MatrixCursor.toString.

type MatrixCursorRowBuilder

type MatrixCursorRowBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MatrixCursorRowBuilder wraps android.database.MatrixCursor$RowBuilder.

func (*MatrixCursorRowBuilder) Add1

func (m *MatrixCursorRowBuilder) Add1(arg0 *jni.Object) (*jni.Object, error)

Add1 calls android.database.MatrixCursor$RowBuilder.add.

func (*MatrixCursorRowBuilder) Add2_1

func (m *MatrixCursorRowBuilder) Add2_1(arg0 string, arg1 *jni.Object) (*jni.Object, error)

Add2_1 calls android.database.MatrixCursor$RowBuilder.add.

func (*MatrixCursorRowBuilder) ToString added in v0.0.8

func (m *MatrixCursorRowBuilder) ToString() (string, error)

ToString calls android.database.MatrixCursor$RowBuilder.toString.

type MergeCursor

type MergeCursor struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MergeCursor wraps android.database.MergeCursor.

func NewMergeCursor

func NewMergeCursor(vm *jni.VM, arg0 *jni.Object) (*MergeCursor, error)

NewMergeCursor creates a new android.database.MergeCursor instance.

func (*MergeCursor) Close

func (m *MergeCursor) Close() error

Close calls android.database.MergeCursor.close.

func (*MergeCursor) Deactivate

func (m *MergeCursor) Deactivate() error

Deactivate calls android.database.MergeCursor.deactivate.

func (*MergeCursor) GetBlob

func (m *MergeCursor) GetBlob(arg0 int32) (*jni.Object, error)

GetBlob calls android.database.MergeCursor.getBlob.

func (*MergeCursor) GetColumnNames

func (m *MergeCursor) GetColumnNames() (*jni.Object, error)

GetColumnNames calls android.database.MergeCursor.getColumnNames.

func (*MergeCursor) GetCount

func (m *MergeCursor) GetCount() (int32, error)

GetCount calls android.database.MergeCursor.getCount.

func (*MergeCursor) GetDouble

func (m *MergeCursor) GetDouble(arg0 int32) (float64, error)

GetDouble calls android.database.MergeCursor.getDouble.

func (*MergeCursor) GetFloat

func (m *MergeCursor) GetFloat(arg0 int32) (float32, error)

GetFloat calls android.database.MergeCursor.getFloat.

func (*MergeCursor) GetInt

func (m *MergeCursor) GetInt(arg0 int32) (int32, error)

GetInt calls android.database.MergeCursor.getInt.

func (*MergeCursor) GetLong

func (m *MergeCursor) GetLong(arg0 int32) (int64, error)

GetLong calls android.database.MergeCursor.getLong.

func (*MergeCursor) GetShort

func (m *MergeCursor) GetShort(arg0 int32) (int16, error)

GetShort calls android.database.MergeCursor.getShort.

func (*MergeCursor) GetString

func (m *MergeCursor) GetString(arg0 int32) (string, error)

GetString calls android.database.MergeCursor.getString.

func (*MergeCursor) GetType

func (m *MergeCursor) GetType(arg0 int32) (int32, error)

GetType calls android.database.MergeCursor.getType.

func (*MergeCursor) IsNull

func (m *MergeCursor) IsNull(arg0 int32) (bool, error)

IsNull calls android.database.MergeCursor.isNull.

func (*MergeCursor) OnMove

func (m *MergeCursor) OnMove(arg0 int32, arg1 int32) (bool, error)

OnMove calls android.database.MergeCursor.onMove.

func (*MergeCursor) RegisterContentObserver

func (m *MergeCursor) RegisterContentObserver(arg0 *jni.Object) error

RegisterContentObserver calls android.database.MergeCursor.registerContentObserver.

func (*MergeCursor) RegisterDataSetObserver

func (m *MergeCursor) RegisterDataSetObserver(arg0 *jni.Object) error

RegisterDataSetObserver calls android.database.MergeCursor.registerDataSetObserver.

func (*MergeCursor) Requery

func (m *MergeCursor) Requery() (bool, error)

Requery calls android.database.MergeCursor.requery.

func (*MergeCursor) ToString added in v0.0.8

func (m *MergeCursor) ToString() (string, error)

ToString calls android.database.MergeCursor.toString.

func (*MergeCursor) UnregisterContentObserver

func (m *MergeCursor) UnregisterContentObserver(arg0 *jni.Object) error

UnregisterContentObserver calls android.database.MergeCursor.unregisterContentObserver.

func (*MergeCursor) UnregisterDataSetObserver

func (m *MergeCursor) UnregisterDataSetObserver(arg0 *jni.Object) error

UnregisterDataSetObserver calls android.database.MergeCursor.unregisterDataSetObserver.

type Observable

type Observable struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Observable wraps android.database.Observable.

func (*Observable) ToString added in v0.0.8

func (m *Observable) ToString() (string, error)

ToString calls android.database.Observable.toString.

func (*Observable) UnregisterAll

func (m *Observable) UnregisterAll() error

UnregisterAll calls android.database.Observable.unregisterAll.

type SQLException

type SQLException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLException wraps android.database.SQLException.

func NewSQLException

func NewSQLException(vm *jni.VM) (*SQLException, error)

NewSQLException creates a new android.database.SQLException instance.

func (*SQLException) ToString added in v0.0.8

func (m *SQLException) ToString() (string, error)

ToString calls android.database.SQLException.toString.

type StaleDataException

type StaleDataException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

StaleDataException wraps android.database.StaleDataException.

func NewStaleDataException

func NewStaleDataException(vm *jni.VM) (*StaleDataException, error)

NewStaleDataException creates a new android.database.StaleDataException instance.

func (*StaleDataException) ToString added in v0.0.8

func (m *StaleDataException) ToString() (string, error)

ToString calls android.database.StaleDataException.toString.

type Utils

type Utils struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Utils wraps android.database.DatabaseUtils.

func NewUtils

func NewUtils(vm *jni.VM) (*Utils, error)

NewUtils creates a new android.database.DatabaseUtils instance.

func (*Utils) AppendEscapedSQLString

func (m *Utils) AppendEscapedSQLString(arg0 *jni.Object, arg1 string) error

AppendEscapedSQLString calls android.database.DatabaseUtils.appendEscapedSQLString.

func (*Utils) AppendSelectionArgs

func (m *Utils) AppendSelectionArgs(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

AppendSelectionArgs calls android.database.DatabaseUtils.appendSelectionArgs.

func (*Utils) AppendValueToSql

func (m *Utils) AppendValueToSql(arg0 *jni.Object, arg1 *jni.Object) error

AppendValueToSql calls android.database.DatabaseUtils.appendValueToSql.

func (*Utils) BindObjectToProgram

func (m *Utils) BindObjectToProgram(
	arg0 *jni.Object,
	arg1 int32,
	arg2 *jni.Object,
) error

BindObjectToProgram calls android.database.DatabaseUtils.bindObjectToProgram.

func (*Utils) BlobFileDescriptorForQuery2_1

func (m *Utils) BlobFileDescriptorForQuery2_1(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

BlobFileDescriptorForQuery2_1 calls android.database.DatabaseUtils.blobFileDescriptorForQuery.

func (*Utils) BlobFileDescriptorForQuery3

func (m *Utils) BlobFileDescriptorForQuery3(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (*jni.Object, error)

BlobFileDescriptorForQuery3 calls android.database.DatabaseUtils.blobFileDescriptorForQuery.

func (*Utils) ConcatenateWhere

func (m *Utils) ConcatenateWhere(arg0 string, arg1 string) (string, error)

ConcatenateWhere calls android.database.DatabaseUtils.concatenateWhere.

func (*Utils) CreateDbFromSqlStatements

func (m *Utils) CreateDbFromSqlStatements(
	arg0 *jni.Object,
	arg1 string,
	arg2 int32,
	arg3 string,
) error

CreateDbFromSqlStatements calls android.database.DatabaseUtils.createDbFromSqlStatements.

func (*Utils) CursorDoubleToContentValues

func (m *Utils) CursorDoubleToContentValues(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
) error

CursorDoubleToContentValues calls android.database.DatabaseUtils.cursorDoubleToContentValues.

func (*Utils) CursorDoubleToContentValuesIfPresent

func (m *Utils) CursorDoubleToContentValuesIfPresent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
) error

CursorDoubleToContentValuesIfPresent calls android.database.DatabaseUtils.cursorDoubleToContentValuesIfPresent.

func (*Utils) CursorDoubleToCursorValues

func (m *Utils) CursorDoubleToCursorValues(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) error

CursorDoubleToCursorValues calls android.database.DatabaseUtils.cursorDoubleToCursorValues.

func (*Utils) CursorFloatToContentValuesIfPresent

func (m *Utils) CursorFloatToContentValuesIfPresent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
) error

CursorFloatToContentValuesIfPresent calls android.database.DatabaseUtils.cursorFloatToContentValuesIfPresent.

func (*Utils) CursorIntToContentValues3

func (m *Utils) CursorIntToContentValues3(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) error

CursorIntToContentValues3 calls android.database.DatabaseUtils.cursorIntToContentValues.

func (*Utils) CursorIntToContentValues4_1

func (m *Utils) CursorIntToContentValues4_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
) error

CursorIntToContentValues4_1 calls android.database.DatabaseUtils.cursorIntToContentValues.

func (*Utils) CursorIntToContentValuesIfPresent

func (m *Utils) CursorIntToContentValuesIfPresent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
) error

CursorIntToContentValuesIfPresent calls android.database.DatabaseUtils.cursorIntToContentValuesIfPresent.

func (*Utils) CursorLongToContentValues3

func (m *Utils) CursorLongToContentValues3(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) error

CursorLongToContentValues3 calls android.database.DatabaseUtils.cursorLongToContentValues.

func (*Utils) CursorLongToContentValues4_1

func (m *Utils) CursorLongToContentValues4_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
) error

CursorLongToContentValues4_1 calls android.database.DatabaseUtils.cursorLongToContentValues.

func (*Utils) CursorLongToContentValuesIfPresent

func (m *Utils) CursorLongToContentValuesIfPresent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
) error

CursorLongToContentValuesIfPresent calls android.database.DatabaseUtils.cursorLongToContentValuesIfPresent.

func (*Utils) CursorRowToContentValues

func (m *Utils) CursorRowToContentValues(arg0 *jni.Object, arg1 *jni.Object) error

CursorRowToContentValues calls android.database.DatabaseUtils.cursorRowToContentValues.

func (*Utils) CursorShortToContentValuesIfPresent

func (m *Utils) CursorShortToContentValuesIfPresent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
) error

CursorShortToContentValuesIfPresent calls android.database.DatabaseUtils.cursorShortToContentValuesIfPresent.

func (*Utils) CursorStringToContentValues3

func (m *Utils) CursorStringToContentValues3(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) error

CursorStringToContentValues3 calls android.database.DatabaseUtils.cursorStringToContentValues.

func (*Utils) CursorStringToContentValues4_1

func (m *Utils) CursorStringToContentValues4_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
) error

CursorStringToContentValues4_1 calls android.database.DatabaseUtils.cursorStringToContentValues.

func (*Utils) CursorStringToContentValuesIfPresent

func (m *Utils) CursorStringToContentValuesIfPresent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
) error

CursorStringToContentValuesIfPresent calls android.database.DatabaseUtils.cursorStringToContentValuesIfPresent.

func (*Utils) CursorStringToInsertHelper

func (m *Utils) CursorStringToInsertHelper(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 int32,
) error

CursorStringToInsertHelper calls android.database.DatabaseUtils.cursorStringToInsertHelper.

func (*Utils) DumpCurrentRow1

func (m *Utils) DumpCurrentRow1(arg0 *jni.Object) error

DumpCurrentRow1 calls android.database.DatabaseUtils.dumpCurrentRow.

func (*Utils) DumpCurrentRow2_1

func (m *Utils) DumpCurrentRow2_1(arg0 *jni.Object, arg1 *jni.Object) error

DumpCurrentRow2_1 calls android.database.DatabaseUtils.dumpCurrentRow.

func (*Utils) DumpCurrentRow2_2

func (m *Utils) DumpCurrentRow2_2(arg0 *jni.Object, arg1 *jni.Object) error

DumpCurrentRow2_2 calls android.database.DatabaseUtils.dumpCurrentRow.

func (*Utils) DumpCurrentRowToString

func (m *Utils) DumpCurrentRowToString(arg0 *jni.Object) (string, error)

DumpCurrentRowToString calls android.database.DatabaseUtils.dumpCurrentRowToString.

func (*Utils) DumpCursor1

func (m *Utils) DumpCursor1(arg0 *jni.Object) error

DumpCursor1 calls android.database.DatabaseUtils.dumpCursor.

func (*Utils) DumpCursor2_1

func (m *Utils) DumpCursor2_1(arg0 *jni.Object, arg1 *jni.Object) error

DumpCursor2_1 calls android.database.DatabaseUtils.dumpCursor.

func (*Utils) DumpCursor2_2

func (m *Utils) DumpCursor2_2(arg0 *jni.Object, arg1 *jni.Object) error

DumpCursor2_2 calls android.database.DatabaseUtils.dumpCursor.

func (*Utils) DumpCursorToString

func (m *Utils) DumpCursorToString(arg0 *jni.Object) (string, error)

DumpCursorToString calls android.database.DatabaseUtils.dumpCursorToString.

func (*Utils) GetCollationKey

func (m *Utils) GetCollationKey(arg0 string) (string, error)

GetCollationKey calls android.database.DatabaseUtils.getCollationKey.

func (*Utils) GetHexCollationKey

func (m *Utils) GetHexCollationKey(arg0 string) (string, error)

GetHexCollationKey calls android.database.DatabaseUtils.getHexCollationKey.

func (*Utils) GetSqlStatementType

func (m *Utils) GetSqlStatementType(arg0 string) (int32, error)

GetSqlStatementType calls android.database.DatabaseUtils.getSqlStatementType.

func (*Utils) LongForQuery2_1

func (m *Utils) LongForQuery2_1(arg0 *jni.Object, arg1 *jni.Object) (int64, error)

LongForQuery2_1 calls android.database.DatabaseUtils.longForQuery.

func (*Utils) LongForQuery3

func (m *Utils) LongForQuery3(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (int64, error)

LongForQuery3 calls android.database.DatabaseUtils.longForQuery.

func (*Utils) QueryNumEntries2

func (m *Utils) QueryNumEntries2(arg0 *jni.Object, arg1 string) (int64, error)

QueryNumEntries2 calls android.database.DatabaseUtils.queryNumEntries.

func (*Utils) QueryNumEntries3_1

func (m *Utils) QueryNumEntries3_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 string,
) (int64, error)

QueryNumEntries3_1 calls android.database.DatabaseUtils.queryNumEntries.

func (*Utils) QueryNumEntries4_2

func (m *Utils) QueryNumEntries4_2(
	arg0 *jni.Object,
	arg1 string,
	arg2 string,
	arg3 *jni.Object,
) (int64, error)

QueryNumEntries4_2 calls android.database.DatabaseUtils.queryNumEntries.

func (*Utils) ReadExceptionFromParcel

func (m *Utils) ReadExceptionFromParcel(arg0 *jni.Object) error

ReadExceptionFromParcel calls android.database.DatabaseUtils.readExceptionFromParcel.

func (*Utils) ReadExceptionWithFileNotFoundExceptionFromParcel

func (m *Utils) ReadExceptionWithFileNotFoundExceptionFromParcel(arg0 *jni.Object) error

ReadExceptionWithFileNotFoundExceptionFromParcel calls android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel.

func (*Utils) ReadExceptionWithOperationApplicationExceptionFromParcel

func (m *Utils) ReadExceptionWithOperationApplicationExceptionFromParcel(arg0 *jni.Object) error

ReadExceptionWithOperationApplicationExceptionFromParcel calls android.database.DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel.

func (*Utils) SqlEscapeString

func (m *Utils) SqlEscapeString(arg0 string) (string, error)

SqlEscapeString calls android.database.DatabaseUtils.sqlEscapeString.

func (*Utils) StringForQuery2_1

func (m *Utils) StringForQuery2_1(arg0 *jni.Object, arg1 *jni.Object) (string, error)

StringForQuery2_1 calls android.database.DatabaseUtils.stringForQuery.

func (*Utils) StringForQuery3

func (m *Utils) StringForQuery3(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (string, error)

StringForQuery3 calls android.database.DatabaseUtils.stringForQuery.

func (*Utils) ToString added in v0.0.8

func (m *Utils) ToString() (string, error)

ToString calls android.database.DatabaseUtils.toString.

func (*Utils) WriteExceptionToParcel

func (m *Utils) WriteExceptionToParcel(arg0 *jni.Object, arg1 *jni.Object) error

WriteExceptionToParcel calls android.database.DatabaseUtils.writeExceptionToParcel.

type UtilsInsertHelper

type UtilsInsertHelper struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

UtilsInsertHelper wraps android.database.DatabaseUtils$InsertHelper.

func (*UtilsInsertHelper) Bind2

func (m *UtilsInsertHelper) Bind2(arg0 int32, arg1 bool) error

Bind2 calls android.database.DatabaseUtils$InsertHelper.bind.

func (*UtilsInsertHelper) Bind2_1

func (m *UtilsInsertHelper) Bind2_1(arg0 int32, arg1 *jni.Object) error

Bind2_1 calls android.database.DatabaseUtils$InsertHelper.bind.

func (*UtilsInsertHelper) Bind2_2

func (m *UtilsInsertHelper) Bind2_2(arg0 int32, arg1 float64) error

Bind2_2 calls android.database.DatabaseUtils$InsertHelper.bind.

func (*UtilsInsertHelper) Bind2_3

func (m *UtilsInsertHelper) Bind2_3(arg0 int32, arg1 float32) error

Bind2_3 calls android.database.DatabaseUtils$InsertHelper.bind.

func (*UtilsInsertHelper) Bind2_4

func (m *UtilsInsertHelper) Bind2_4(arg0 int32, arg1 int32) error

Bind2_4 calls android.database.DatabaseUtils$InsertHelper.bind.

func (*UtilsInsertHelper) Bind2_5

func (m *UtilsInsertHelper) Bind2_5(arg0 int32, arg1 string) error

Bind2_5 calls android.database.DatabaseUtils$InsertHelper.bind.

func (*UtilsInsertHelper) Bind2_6

func (m *UtilsInsertHelper) Bind2_6(arg0 int32, arg1 int64) error

Bind2_6 calls android.database.DatabaseUtils$InsertHelper.bind.

func (*UtilsInsertHelper) BindNull

func (m *UtilsInsertHelper) BindNull(arg0 int32) error

BindNull calls android.database.DatabaseUtils$InsertHelper.bindNull.

func (*UtilsInsertHelper) Close

func (m *UtilsInsertHelper) Close() error

Close calls android.database.DatabaseUtils$InsertHelper.close.

func (*UtilsInsertHelper) Execute

func (m *UtilsInsertHelper) Execute() (int64, error)

Execute calls android.database.DatabaseUtils$InsertHelper.execute.

func (*UtilsInsertHelper) GetColumnIndex

func (m *UtilsInsertHelper) GetColumnIndex(arg0 string) (int32, error)

GetColumnIndex calls android.database.DatabaseUtils$InsertHelper.getColumnIndex.

func (*UtilsInsertHelper) Insert

func (m *UtilsInsertHelper) Insert(arg0 *jni.Object) (int64, error)

Insert calls android.database.DatabaseUtils$InsertHelper.insert.

func (*UtilsInsertHelper) PrepareForInsert

func (m *UtilsInsertHelper) PrepareForInsert() error

PrepareForInsert calls android.database.DatabaseUtils$InsertHelper.prepareForInsert.

func (*UtilsInsertHelper) PrepareForReplace

func (m *UtilsInsertHelper) PrepareForReplace() error

PrepareForReplace calls android.database.DatabaseUtils$InsertHelper.prepareForReplace.

func (*UtilsInsertHelper) Replace

func (m *UtilsInsertHelper) Replace(arg0 *jni.Object) (int64, error)

Replace calls android.database.DatabaseUtils$InsertHelper.replace.

func (*UtilsInsertHelper) ToString added in v0.0.8

func (m *UtilsInsertHelper) ToString() (string, error)

ToString calls android.database.DatabaseUtils$InsertHelper.toString.

Directories

Path Synopsis
Package sqlite provides Go bindings for android.database.sqlite.
Package sqlite provides Go bindings for android.database.sqlite.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL