resolver

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Overview

Package resolver provides Go bindings for android.net.

Index

Constants

View Source
const (
	Creator                        = consts.Creator
	Empty                          = consts.Empty
	NotifyDelete                   = consts.NotifyDelete
	NotifyInsert                   = consts.NotifyInsert
	NotifySkipNotifyForDescendants = consts.NotifySkipNotifyForDescendants
	NotifySyncToNetwork            = consts.NotifySyncToNetwork
	NotifyUpdate                   = consts.NotifyUpdate
	QuerySortDirectionAscending    = consts.QuerySortDirectionAscending
	QuerySortDirectionDescending   = consts.QuerySortDirectionDescending
	SyncObserverTypeActive         = consts.SyncObserverTypeActive
	SyncObserverTypePending        = consts.SyncObserverTypePending
	SyncObserverTypeSettings       = consts.SyncObserverTypeSettings
	FieldTypeBlob                  = consts.FieldTypeBlob
	FieldTypeFloat                 = consts.FieldTypeFloat
	FieldTypeInteger               = consts.FieldTypeInteger
	FieldTypeNull                  = consts.FieldTypeNull
	FieldTypeString                = consts.FieldTypeString
)
View Source
const (
	AnyCursorItemType                  = consts.AnyCursorItemType
	CursorDirBaseType                  = consts.CursorDirBaseType
	CursorItemBaseType                 = consts.CursorItemBaseType
	ExtraHonoredArgs                   = consts.ExtraHonoredArgs
	ExtraRefreshSupported              = consts.ExtraRefreshSupported
	ExtraSize                          = consts.ExtraSize
	ExtraTotalCount                    = consts.ExtraTotalCount
	QueryArgGroupColumns               = consts.QueryArgGroupColumns
	QueryArgLimit                      = consts.QueryArgLimit
	QueryArgOffset                     = consts.QueryArgOffset
	QueryArgSortCollation              = consts.QueryArgSortCollation
	QueryArgSortColumns                = consts.QueryArgSortColumns
	QueryArgSortDirection              = consts.QueryArgSortDirection
	QueryArgSortLocale                 = consts.QueryArgSortLocale
	QueryArgSqlGroupBy                 = consts.QueryArgSqlGroupBy
	QueryArgSqlHaving                  = consts.QueryArgSqlHaving
	QueryArgSqlLimit                   = consts.QueryArgSqlLimit
	QueryArgSqlSelection               = consts.QueryArgSqlSelection
	QueryArgSqlSelectionArgs           = consts.QueryArgSqlSelectionArgs
	QueryArgSqlSortOrder               = consts.QueryArgSqlSortOrder
	SchemeAndroidResource              = consts.SchemeAndroidResource
	SchemeContent                      = consts.SchemeContent
	SchemeFile                         = consts.SchemeFile
	SyncExtrasAccount                  = consts.SyncExtrasAccount
	SyncExtrasDiscardLocalDeletions    = consts.SyncExtrasDiscardLocalDeletions
	SyncExtrasDoNotRetry               = consts.SyncExtrasDoNotRetry
	SyncExtrasExpedited                = consts.SyncExtrasExpedited
	SyncExtrasForce                    = consts.SyncExtrasForce
	SyncExtrasIgnoreBackoff            = consts.SyncExtrasIgnoreBackoff
	SyncExtrasIgnoreSettings           = consts.SyncExtrasIgnoreSettings
	SyncExtrasInitialize               = consts.SyncExtrasInitialize
	SyncExtrasManual                   = consts.SyncExtrasManual
	SyncExtrasOverrideTooManyDeletions = consts.SyncExtrasOverrideTooManyDeletions
	SyncExtrasRequireCharging          = consts.SyncExtrasRequireCharging
	SyncExtrasScheduleAsExpeditedJob   = consts.SyncExtrasScheduleAsExpeditedJob
	SyncExtrasUpload                   = consts.SyncExtrasUpload
)

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 ContentResolver added in v0.0.4

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

ContentResolver wraps android.content.ContentResolver.

func (*ContentResolver) AcquireContentProviderClient1 added in v0.0.4

func (m *ContentResolver) AcquireContentProviderClient1(arg0 *jni.Object) (*jni.Object, error)

AcquireContentProviderClient1 calls android.content.ContentResolver.acquireContentProviderClient.

func (*ContentResolver) AcquireContentProviderClient1_1 added in v0.0.4

func (m *ContentResolver) AcquireContentProviderClient1_1(arg0 string) (*jni.Object, error)

AcquireContentProviderClient1_1 calls android.content.ContentResolver.acquireContentProviderClient.

func (*ContentResolver) AcquireUnstableContentProviderClient1 added in v0.0.4

func (m *ContentResolver) AcquireUnstableContentProviderClient1(arg0 *jni.Object) (*jni.Object, error)

AcquireUnstableContentProviderClient1 calls android.content.ContentResolver.acquireUnstableContentProviderClient.

func (*ContentResolver) AcquireUnstableContentProviderClient1_1 added in v0.0.4

func (m *ContentResolver) AcquireUnstableContentProviderClient1_1(arg0 string) (*jni.Object, error)

AcquireUnstableContentProviderClient1_1 calls android.content.ContentResolver.acquireUnstableContentProviderClient.

func (*ContentResolver) AddPeriodicSync added in v0.0.4

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

AddPeriodicSync calls android.content.ContentResolver.addPeriodicSync.

func (*ContentResolver) AddStatusChangeListener added in v0.0.4

func (m *ContentResolver) AddStatusChangeListener(arg0 int32, arg1 *jni.Object) (*jni.Object, error)

AddStatusChangeListener calls android.content.ContentResolver.addStatusChangeListener.

func (*ContentResolver) ApplyBatch added in v0.0.4

func (m *ContentResolver) ApplyBatch(arg0 string, arg1 *jni.Object) (*jni.Object, error)

ApplyBatch calls android.content.ContentResolver.applyBatch.

func (*ContentResolver) BulkInsert added in v0.0.4

func (m *ContentResolver) BulkInsert(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

BulkInsert calls android.content.ContentResolver.bulkInsert.

func (*ContentResolver) Call4 added in v0.0.4

func (m *ContentResolver) Call4(
	arg0 *jni.Object,
	arg1 string,
	arg2 string,
	arg3 *jni.Object,
) (*jni.Object, error)

Call4 calls android.content.ContentResolver.call.

func (*ContentResolver) Call4_1 added in v0.0.4

func (m *ContentResolver) Call4_1(
	arg0 string,
	arg1 string,
	arg2 string,
	arg3 *jni.Object,
) (*jni.Object, error)

Call4_1 calls android.content.ContentResolver.call.

func (*ContentResolver) CancelSync1_1 added in v0.0.4

func (m *ContentResolver) CancelSync1_1(arg0 *jni.Object) error

CancelSync1_1 calls android.content.ContentResolver.cancelSync.

func (*ContentResolver) CancelSync1_2 added in v0.0.4

func (m *ContentResolver) CancelSync1_2(arg0 *jni.Object) error

CancelSync1_2 calls android.content.ContentResolver.cancelSync.

func (*ContentResolver) CancelSync2 added in v0.0.4

func (m *ContentResolver) CancelSync2(arg0 *jni.Object, arg1 string) error

CancelSync2 calls android.content.ContentResolver.cancelSync.

func (*ContentResolver) Canonicalize added in v0.0.4

func (m *ContentResolver) Canonicalize(arg0 *jni.Object) (*jni.Object, error)

Canonicalize calls android.content.ContentResolver.canonicalize.

func (*ContentResolver) Delete2 added in v0.0.4

func (m *ContentResolver) Delete2(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

Delete2 calls android.content.ContentResolver.delete.

func (*ContentResolver) Delete3_1 added in v0.0.4

func (m *ContentResolver) Delete3_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

Delete3_1 calls android.content.ContentResolver.delete.

func (*ContentResolver) GetCurrentSync added in v0.0.4

func (m *ContentResolver) GetCurrentSync() (*jni.Object, error)

GetCurrentSync calls android.content.ContentResolver.getCurrentSync.

func (*ContentResolver) GetCurrentSyncs added in v0.0.4

func (m *ContentResolver) GetCurrentSyncs() (*jni.Object, error)

GetCurrentSyncs calls android.content.ContentResolver.getCurrentSyncs.

func (*ContentResolver) GetIsSyncable added in v0.0.4

func (m *ContentResolver) GetIsSyncable(arg0 *jni.Object, arg1 string) (int32, error)

GetIsSyncable calls android.content.ContentResolver.getIsSyncable.

func (*ContentResolver) GetMasterSyncAutomatically added in v0.0.4

func (m *ContentResolver) GetMasterSyncAutomatically() (bool, error)

GetMasterSyncAutomatically calls android.content.ContentResolver.getMasterSyncAutomatically.

func (*ContentResolver) GetOutgoingPersistedUriPermissions added in v0.0.4

func (m *ContentResolver) GetOutgoingPersistedUriPermissions() (*jni.Object, error)

GetOutgoingPersistedUriPermissions calls android.content.ContentResolver.getOutgoingPersistedUriPermissions.

func (*ContentResolver) GetPeriodicSyncs added in v0.0.4

func (m *ContentResolver) GetPeriodicSyncs(arg0 *jni.Object, arg1 string) (*jni.Object, error)

GetPeriodicSyncs calls android.content.ContentResolver.getPeriodicSyncs.

func (*ContentResolver) GetPersistedUriPermissions added in v0.0.4

func (m *ContentResolver) GetPersistedUriPermissions() (*jni.Object, error)

GetPersistedUriPermissions calls android.content.ContentResolver.getPersistedUriPermissions.

func (*ContentResolver) GetStreamTypes added in v0.0.4

func (m *ContentResolver) GetStreamTypes(arg0 *jni.Object, arg1 string) (*jni.Object, error)

GetStreamTypes calls android.content.ContentResolver.getStreamTypes.

func (*ContentResolver) GetSyncAdapterTypes added in v0.0.4

func (m *ContentResolver) GetSyncAdapterTypes() (*jni.Object, error)

GetSyncAdapterTypes calls android.content.ContentResolver.getSyncAdapterTypes.

func (*ContentResolver) GetSyncAutomatically added in v0.0.4

func (m *ContentResolver) GetSyncAutomatically(arg0 *jni.Object, arg1 string) (bool, error)

GetSyncAutomatically calls android.content.ContentResolver.getSyncAutomatically.

func (*ContentResolver) GetType added in v0.0.4

func (m *ContentResolver) GetType(arg0 *jni.Object) (string, error)

GetType calls android.content.ContentResolver.getType.

func (*ContentResolver) GetTypeInfo added in v0.0.4

func (m *ContentResolver) GetTypeInfo(arg0 string) (*jni.Object, error)

GetTypeInfo calls android.content.ContentResolver.getTypeInfo.

func (*ContentResolver) Insert2 added in v0.0.4

func (m *ContentResolver) Insert2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

Insert2 calls android.content.ContentResolver.insert.

func (*ContentResolver) Insert3_1 added in v0.0.4

func (m *ContentResolver) Insert3_1(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (*jni.Object, error)

Insert3_1 calls android.content.ContentResolver.insert.

func (*ContentResolver) IsSyncActive added in v0.0.4

func (m *ContentResolver) IsSyncActive(arg0 *jni.Object, arg1 string) (bool, error)

IsSyncActive calls android.content.ContentResolver.isSyncActive.

func (*ContentResolver) IsSyncPending added in v0.0.4

func (m *ContentResolver) IsSyncPending(arg0 *jni.Object, arg1 string) (bool, error)

IsSyncPending calls android.content.ContentResolver.isSyncPending.

func (*ContentResolver) LoadThumbnail added in v0.0.4

func (m *ContentResolver) LoadThumbnail(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (*jni.Object, error)

LoadThumbnail calls android.content.ContentResolver.loadThumbnail.

func (*ContentResolver) NotifyChange2 added in v0.0.4

func (m *ContentResolver) NotifyChange2(arg0 *jni.Object, arg1 *jni.Object) error

NotifyChange2 calls android.content.ContentResolver.notifyChange.

func (*ContentResolver) NotifyChange3_1 added in v0.0.4

func (m *ContentResolver) NotifyChange3_1(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 bool,
) error

NotifyChange3_1 calls android.content.ContentResolver.notifyChange.

func (*ContentResolver) NotifyChange3_2 added in v0.0.4

func (m *ContentResolver) NotifyChange3_2(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

NotifyChange3_2 calls android.content.ContentResolver.notifyChange.

func (*ContentResolver) NotifyChange3_3 added in v0.0.4

func (m *ContentResolver) NotifyChange3_3(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

NotifyChange3_3 calls android.content.ContentResolver.notifyChange.

func (*ContentResolver) OpenAssetFile added in v0.0.4

func (m *ContentResolver) OpenAssetFile(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (*jni.Object, error)

OpenAssetFile calls android.content.ContentResolver.openAssetFile.

func (*ContentResolver) OpenAssetFileDescriptor2 added in v0.0.4

func (m *ContentResolver) OpenAssetFileDescriptor2(arg0 *jni.Object, arg1 string) (*jni.Object, error)

OpenAssetFileDescriptor2 calls android.content.ContentResolver.openAssetFileDescriptor.

func (*ContentResolver) OpenAssetFileDescriptor3_1 added in v0.0.4

func (m *ContentResolver) OpenAssetFileDescriptor3_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (*jni.Object, error)

OpenAssetFileDescriptor3_1 calls android.content.ContentResolver.openAssetFileDescriptor.

func (*ContentResolver) OpenFile added in v0.0.4

func (m *ContentResolver) OpenFile(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (*jni.Object, error)

OpenFile calls android.content.ContentResolver.openFile.

func (*ContentResolver) OpenFileDescriptor2 added in v0.0.4

func (m *ContentResolver) OpenFileDescriptor2(arg0 *jni.Object, arg1 string) (*jni.Object, error)

OpenFileDescriptor2 calls android.content.ContentResolver.openFileDescriptor.

func (*ContentResolver) OpenFileDescriptor3_1 added in v0.0.4

func (m *ContentResolver) OpenFileDescriptor3_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (*jni.Object, error)

OpenFileDescriptor3_1 calls android.content.ContentResolver.openFileDescriptor.

func (*ContentResolver) OpenInputStream added in v0.0.4

func (m *ContentResolver) OpenInputStream(arg0 *jni.Object) (*jni.Object, error)

OpenInputStream calls android.content.ContentResolver.openInputStream.

func (*ContentResolver) OpenOutputStream1 added in v0.0.4

func (m *ContentResolver) OpenOutputStream1(arg0 *jni.Object) (*jni.Object, error)

OpenOutputStream1 calls android.content.ContentResolver.openOutputStream.

func (*ContentResolver) OpenOutputStream2_1 added in v0.0.4

func (m *ContentResolver) OpenOutputStream2_1(arg0 *jni.Object, arg1 string) (*jni.Object, error)

OpenOutputStream2_1 calls android.content.ContentResolver.openOutputStream.

func (*ContentResolver) OpenTypedAssetFile added in v0.0.4

func (m *ContentResolver) OpenTypedAssetFile(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 *jni.Object,
) (*jni.Object, error)

OpenTypedAssetFile calls android.content.ContentResolver.openTypedAssetFile.

func (*ContentResolver) OpenTypedAssetFileDescriptor3 added in v0.0.4

func (m *ContentResolver) OpenTypedAssetFileDescriptor3(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (*jni.Object, error)

OpenTypedAssetFileDescriptor3 calls android.content.ContentResolver.openTypedAssetFileDescriptor.

func (*ContentResolver) OpenTypedAssetFileDescriptor4_1 added in v0.0.4

func (m *ContentResolver) OpenTypedAssetFileDescriptor4_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 *jni.Object,
) (*jni.Object, error)

OpenTypedAssetFileDescriptor4_1 calls android.content.ContentResolver.openTypedAssetFileDescriptor.

func (*ContentResolver) Query4 added in v0.0.4

func (m *ContentResolver) Query4(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 *jni.Object,
) (*jni.Object, error)

Query4 calls android.content.ContentResolver.query.

func (*ContentResolver) Query5_1 added in v0.0.4

func (m *ContentResolver) Query5_1(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
) (*jni.Object, error)

Query5_1 calls android.content.ContentResolver.query.

func (*ContentResolver) Query6_2 added in v0.0.4

func (m *ContentResolver) Query6_2(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
	arg5 *jni.Object,
) (*jni.Object, error)

Query6_2 calls android.content.ContentResolver.query.

func (*ContentResolver) Refresh added in v0.0.4

func (m *ContentResolver) Refresh(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

Refresh calls android.content.ContentResolver.refresh.

func (*ContentResolver) RegisterContentObserver added in v0.0.4

func (m *ContentResolver) RegisterContentObserver(
	arg0 *jni.Object,
	arg1 bool,
	arg2 *jni.Object,
) error

RegisterContentObserver calls android.content.ContentResolver.registerContentObserver.

func (*ContentResolver) ReleasePersistableUriPermission added in v0.0.4

func (m *ContentResolver) ReleasePersistableUriPermission(arg0 *jni.Object, arg1 int32) error

ReleasePersistableUriPermission calls android.content.ContentResolver.releasePersistableUriPermission.

func (*ContentResolver) RemovePeriodicSync added in v0.0.4

func (m *ContentResolver) RemovePeriodicSync(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) error

RemovePeriodicSync calls android.content.ContentResolver.removePeriodicSync.

func (*ContentResolver) RemoveStatusChangeListener added in v0.0.4

func (m *ContentResolver) RemoveStatusChangeListener(arg0 *jni.Object) error

RemoveStatusChangeListener calls android.content.ContentResolver.removeStatusChangeListener.

func (*ContentResolver) RequestSync1_1 added in v0.0.4

func (m *ContentResolver) RequestSync1_1(arg0 *jni.Object) error

RequestSync1_1 calls android.content.ContentResolver.requestSync.

func (*ContentResolver) RequestSync3 added in v0.0.4

func (m *ContentResolver) RequestSync3(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) error

RequestSync3 calls android.content.ContentResolver.requestSync.

func (*ContentResolver) SetIsSyncable added in v0.0.4

func (m *ContentResolver) SetIsSyncable(
	arg0 *jni.Object,
	arg1 string,
	arg2 int32,
) error

SetIsSyncable calls android.content.ContentResolver.setIsSyncable.

func (*ContentResolver) SetMasterSyncAutomatically added in v0.0.4

func (m *ContentResolver) SetMasterSyncAutomatically(arg0 bool) error

SetMasterSyncAutomatically calls android.content.ContentResolver.setMasterSyncAutomatically.

func (*ContentResolver) SetSyncAutomatically added in v0.0.4

func (m *ContentResolver) SetSyncAutomatically(
	arg0 *jni.Object,
	arg1 string,
	arg2 bool,
) error

SetSyncAutomatically calls android.content.ContentResolver.setSyncAutomatically.

func (*ContentResolver) StartSync added in v0.0.4

func (m *ContentResolver) StartSync(arg0 *jni.Object, arg1 *jni.Object) error

StartSync calls android.content.ContentResolver.startSync.

func (*ContentResolver) TakePersistableUriPermission added in v0.0.4

func (m *ContentResolver) TakePersistableUriPermission(arg0 *jni.Object, arg1 int32) error

TakePersistableUriPermission calls android.content.ContentResolver.takePersistableUriPermission.

func (*ContentResolver) Uncanonicalize added in v0.0.4

func (m *ContentResolver) Uncanonicalize(arg0 *jni.Object) (*jni.Object, error)

Uncanonicalize calls android.content.ContentResolver.uncanonicalize.

func (*ContentResolver) UnregisterContentObserver added in v0.0.4

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

UnregisterContentObserver calls android.content.ContentResolver.unregisterContentObserver.

func (*ContentResolver) Update3 added in v0.0.4

func (m *ContentResolver) Update3(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (int32, error)

Update3 calls android.content.ContentResolver.update.

func (*ContentResolver) Update4_1 added in v0.0.4

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

Update4_1 calls android.content.ContentResolver.update.

func (*ContentResolver) ValidateSyncExtrasBundle added in v0.0.4

func (m *ContentResolver) ValidateSyncExtrasBundle(arg0 *jni.Object) error

ValidateSyncExtrasBundle calls android.content.ContentResolver.validateSyncExtrasBundle.

func (*ContentResolver) Wrap1 added in v0.0.4

func (m *ContentResolver) Wrap1(arg0 *jni.Object) (*jni.Object, error)

Wrap1 calls android.content.ContentResolver.wrap.

func (*ContentResolver) Wrap1_1 added in v0.0.4

func (m *ContentResolver) Wrap1_1(arg0 *jni.Object) (*jni.Object, error)

Wrap1_1 calls android.content.ContentResolver.wrap.

type Cursor added in v0.0.4

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

Cursor wraps android.database.Cursor.

func (*Cursor) Close added in v0.0.4

func (m *Cursor) Close() error

Close calls android.database.Cursor.close.

func (*Cursor) CopyStringToBuffer added in v0.0.4

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

CopyStringToBuffer calls android.database.Cursor.copyStringToBuffer.

func (*Cursor) Deactivate added in v0.0.4

func (m *Cursor) Deactivate() error

Deactivate calls android.database.Cursor.deactivate.

func (*Cursor) GetBlob added in v0.0.4

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

GetBlob calls android.database.Cursor.getBlob.

func (*Cursor) GetColumnCount added in v0.0.4

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

GetColumnCount calls android.database.Cursor.getColumnCount.

func (*Cursor) GetColumnIndex added in v0.0.4

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

GetColumnIndex calls android.database.Cursor.getColumnIndex.

func (*Cursor) GetColumnIndexOrThrow added in v0.0.4

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

GetColumnIndexOrThrow calls android.database.Cursor.getColumnIndexOrThrow.

func (*Cursor) GetColumnName added in v0.0.4

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

GetColumnName calls android.database.Cursor.getColumnName.

func (*Cursor) GetColumnNames added in v0.0.4

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

GetColumnNames calls android.database.Cursor.getColumnNames.

func (*Cursor) GetCount added in v0.0.4

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

GetCount calls android.database.Cursor.getCount.

func (*Cursor) GetDouble added in v0.0.4

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

GetDouble calls android.database.Cursor.getDouble.

func (*Cursor) GetExtras added in v0.0.4

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

GetExtras calls android.database.Cursor.getExtras.

func (*Cursor) GetFloat added in v0.0.4

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

GetFloat calls android.database.Cursor.getFloat.

func (*Cursor) GetInt added in v0.0.4

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

GetInt calls android.database.Cursor.getInt.

func (*Cursor) GetLong added in v0.0.4

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

GetLong calls android.database.Cursor.getLong.

func (*Cursor) GetNotificationUri added in v0.0.4

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

GetNotificationUri calls android.database.Cursor.getNotificationUri.

func (*Cursor) GetPosition added in v0.0.4

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

GetPosition calls android.database.Cursor.getPosition.

func (*Cursor) GetShort added in v0.0.4

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

GetShort calls android.database.Cursor.getShort.

func (*Cursor) GetString added in v0.0.4

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

GetString calls android.database.Cursor.getString.

func (*Cursor) GetType added in v0.0.4

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

GetType calls android.database.Cursor.getType.

func (*Cursor) GetWantsAllOnMoveCalls added in v0.0.4

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

GetWantsAllOnMoveCalls calls android.database.Cursor.getWantsAllOnMoveCalls.

func (*Cursor) IsAfterLast added in v0.0.4

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

IsAfterLast calls android.database.Cursor.isAfterLast.

func (*Cursor) IsBeforeFirst added in v0.0.4

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

IsBeforeFirst calls android.database.Cursor.isBeforeFirst.

func (*Cursor) IsClosed added in v0.0.4

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

IsClosed calls android.database.Cursor.isClosed.

func (*Cursor) IsFirst added in v0.0.4

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

IsFirst calls android.database.Cursor.isFirst.

func (*Cursor) IsLast added in v0.0.4

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

IsLast calls android.database.Cursor.isLast.

func (*Cursor) IsNull added in v0.0.4

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

IsNull calls android.database.Cursor.isNull.

func (*Cursor) Move added in v0.0.4

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

Move calls android.database.Cursor.move.

func (*Cursor) MoveToFirst added in v0.0.4

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

MoveToFirst calls android.database.Cursor.moveToFirst.

func (*Cursor) MoveToLast added in v0.0.4

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

MoveToLast calls android.database.Cursor.moveToLast.

func (*Cursor) MoveToNext added in v0.0.4

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

MoveToNext calls android.database.Cursor.moveToNext.

func (*Cursor) MoveToPosition added in v0.0.4

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

MoveToPosition calls android.database.Cursor.moveToPosition.

func (*Cursor) MoveToPrevious added in v0.0.4

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

MoveToPrevious calls android.database.Cursor.moveToPrevious.

func (*Cursor) RegisterContentObserver added in v0.0.4

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

RegisterContentObserver calls android.database.Cursor.registerContentObserver.

func (*Cursor) RegisterDataSetObserver added in v0.0.4

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

RegisterDataSetObserver calls android.database.Cursor.registerDataSetObserver.

func (*Cursor) Requery added in v0.0.4

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

Requery calls android.database.Cursor.requery.

func (*Cursor) Respond added in v0.0.4

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

Respond calls android.database.Cursor.respond.

func (*Cursor) SetExtras added in v0.0.4

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

SetExtras calls android.database.Cursor.setExtras.

func (*Cursor) SetNotificationUri added in v0.0.4

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

SetNotificationUri calls android.database.Cursor.setNotificationUri.

func (*Cursor) UnregisterContentObserver added in v0.0.4

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

UnregisterContentObserver calls android.database.Cursor.unregisterContentObserver.

func (*Cursor) UnregisterDataSetObserver added in v0.0.4

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

UnregisterDataSetObserver calls android.database.Cursor.unregisterDataSetObserver.

type Uri added in v0.0.4

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

Uri wraps android.net.Uri.

func (*Uri) BuildUpon added in v0.0.4

func (m *Uri) BuildUpon() (*jni.Object, error)

BuildUpon calls android.net.Uri.buildUpon.

func (*Uri) CompareTo1 added in v0.0.4

func (m *Uri) CompareTo1(arg0 *jni.Object) (int32, error)

CompareTo1 calls android.net.Uri.compareTo.

func (*Uri) CompareTo1_1 added in v0.0.4

func (m *Uri) CompareTo1_1(arg0 *jni.Object) (int32, error)

CompareTo1_1 calls android.net.Uri.compareTo.

func (*Uri) Decode added in v0.0.4

func (m *Uri) Decode(arg0 string) (string, error)

Decode calls android.net.Uri.decode.

func (*Uri) Encode1 added in v0.0.4

func (m *Uri) Encode1(arg0 string) (string, error)

Encode1 calls android.net.Uri.encode.

func (*Uri) Encode2_1 added in v0.0.4

func (m *Uri) Encode2_1(arg0 string, arg1 string) (string, error)

Encode2_1 calls android.net.Uri.encode.

func (*Uri) Equals added in v0.0.4

func (m *Uri) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.Uri.equals.

func (*Uri) FromFile added in v0.0.4

func (m *Uri) FromFile(arg0 *jni.Object) (*jni.Object, error)

FromFile calls android.net.Uri.fromFile.

func (*Uri) FromParts added in v0.0.4

func (m *Uri) FromParts(
	arg0 string,
	arg1 string,
	arg2 string,
) (*jni.Object, error)

FromParts calls android.net.Uri.fromParts.

func (*Uri) GetAuthority added in v0.0.4

func (m *Uri) GetAuthority() (string, error)

GetAuthority calls android.net.Uri.getAuthority.

func (*Uri) GetBooleanQueryParameter added in v0.0.4

func (m *Uri) GetBooleanQueryParameter(arg0 string, arg1 bool) (bool, error)

GetBooleanQueryParameter calls android.net.Uri.getBooleanQueryParameter.

func (*Uri) GetEncodedAuthority added in v0.0.4

func (m *Uri) GetEncodedAuthority() (string, error)

GetEncodedAuthority calls android.net.Uri.getEncodedAuthority.

func (*Uri) GetEncodedFragment added in v0.0.4

func (m *Uri) GetEncodedFragment() (string, error)

GetEncodedFragment calls android.net.Uri.getEncodedFragment.

func (*Uri) GetEncodedPath added in v0.0.4

func (m *Uri) GetEncodedPath() (string, error)

GetEncodedPath calls android.net.Uri.getEncodedPath.

func (*Uri) GetEncodedQuery added in v0.0.4

func (m *Uri) GetEncodedQuery() (string, error)

GetEncodedQuery calls android.net.Uri.getEncodedQuery.

func (*Uri) GetEncodedSchemeSpecificPart added in v0.0.4

func (m *Uri) GetEncodedSchemeSpecificPart() (string, error)

GetEncodedSchemeSpecificPart calls android.net.Uri.getEncodedSchemeSpecificPart.

func (*Uri) GetEncodedUserInfo added in v0.0.4

func (m *Uri) GetEncodedUserInfo() (string, error)

GetEncodedUserInfo calls android.net.Uri.getEncodedUserInfo.

func (*Uri) GetFragment added in v0.0.4

func (m *Uri) GetFragment() (string, error)

GetFragment calls android.net.Uri.getFragment.

func (*Uri) GetHost added in v0.0.4

func (m *Uri) GetHost() (string, error)

GetHost calls android.net.Uri.getHost.

func (*Uri) GetLastPathSegment added in v0.0.4

func (m *Uri) GetLastPathSegment() (string, error)

GetLastPathSegment calls android.net.Uri.getLastPathSegment.

func (*Uri) GetPath added in v0.0.4

func (m *Uri) GetPath() (string, error)

GetPath calls android.net.Uri.getPath.

func (*Uri) GetPathSegments added in v0.0.4

func (m *Uri) GetPathSegments() (*jni.Object, error)

GetPathSegments calls android.net.Uri.getPathSegments.

func (*Uri) GetPort added in v0.0.4

func (m *Uri) GetPort() (int32, error)

GetPort calls android.net.Uri.getPort.

func (*Uri) GetQuery added in v0.0.4

func (m *Uri) GetQuery() (string, error)

GetQuery calls android.net.Uri.getQuery.

func (*Uri) GetQueryParameter added in v0.0.4

func (m *Uri) GetQueryParameter(arg0 string) (string, error)

GetQueryParameter calls android.net.Uri.getQueryParameter.

func (*Uri) GetQueryParameterNames added in v0.0.4

func (m *Uri) GetQueryParameterNames() (*jni.Object, error)

GetQueryParameterNames calls android.net.Uri.getQueryParameterNames.

func (*Uri) GetQueryParameters added in v0.0.4

func (m *Uri) GetQueryParameters(arg0 string) (*jni.Object, error)

GetQueryParameters calls android.net.Uri.getQueryParameters.

func (*Uri) GetScheme added in v0.0.4

func (m *Uri) GetScheme() (string, error)

GetScheme calls android.net.Uri.getScheme.

func (*Uri) GetSchemeSpecificPart added in v0.0.4

func (m *Uri) GetSchemeSpecificPart() (string, error)

GetSchemeSpecificPart calls android.net.Uri.getSchemeSpecificPart.

func (*Uri) GetUserInfo added in v0.0.4

func (m *Uri) GetUserInfo() (string, error)

GetUserInfo calls android.net.Uri.getUserInfo.

func (*Uri) HashCode added in v0.0.4

func (m *Uri) HashCode() (int32, error)

HashCode calls android.net.Uri.hashCode.

func (*Uri) IsAbsolute added in v0.0.4

func (m *Uri) IsAbsolute() (bool, error)

IsAbsolute calls android.net.Uri.isAbsolute.

func (*Uri) IsHierarchical added in v0.0.4

func (m *Uri) IsHierarchical() (bool, error)

IsHierarchical calls android.net.Uri.isHierarchical.

func (*Uri) IsOpaque added in v0.0.4

func (m *Uri) IsOpaque() (bool, error)

IsOpaque calls android.net.Uri.isOpaque.

func (*Uri) IsRelative added in v0.0.4

func (m *Uri) IsRelative() (bool, error)

IsRelative calls android.net.Uri.isRelative.

func (*Uri) NormalizeScheme added in v0.0.4

func (m *Uri) NormalizeScheme() (*jni.Object, error)

NormalizeScheme calls android.net.Uri.normalizeScheme.

func (*Uri) Parse added in v0.0.4

func (m *Uri) Parse(arg0 string) (*jni.Object, error)

Parse calls android.net.Uri.parse.

func (*Uri) ToString added in v0.0.4

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

ToString calls android.net.Uri.toString.

func (*Uri) WithAppendedPath added in v0.0.4

func (m *Uri) WithAppendedPath(arg0 *jni.Object, arg1 string) (*jni.Object, error)

WithAppendedPath calls android.net.Uri.withAppendedPath.

func (*Uri) WriteToParcel added in v0.0.4

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

WriteToParcel calls android.net.Uri.writeToParcel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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