database

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TransactionIContentObserverOnChange    = binder.FirstCallTransaction + 0
	TransactionIContentObserverOnChangeEtc = binder.FirstCallTransaction + 1
)
View Source
const DescriptorIContentObserver = "android.database.IContentObserver"

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentObserverProxy

type ContentObserverProxy struct {
	// contains filtered or unexported fields
}

func NewContentObserverProxy

func NewContentObserverProxy(
	remote binder.IBinder,
) *ContentObserverProxy

func (*ContentObserverProxy) AsBinder

func (p *ContentObserverProxy) AsBinder() binder.IBinder

func (*ContentObserverProxy) OnChange

func (p *ContentObserverProxy) OnChange(
	ctx context.Context,
	selfUpdate bool,
	uri interface{},
	userId int32,
) error

func (*ContentObserverProxy) OnChangeEtc

func (p *ContentObserverProxy) OnChangeEtc(
	ctx context.Context,
	selfUpdate bool,
	uri []interface{},
	flags int32,
	userId int32,
) error

type CursorWindow

type CursorWindow struct {
}

func (*CursorWindow) MarshalParcel

func (s *CursorWindow) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CursorWindow) UnmarshalParcel

func (s *CursorWindow) UnmarshalParcel(
	p *parcel.Parcel,
) error

type IContentObserver

type IContentObserver interface {
	AsBinder() binder.IBinder
	OnChange(ctx context.Context, selfUpdate bool, uri interface{}, userId int32) error
	OnChangeEtc(ctx context.Context, selfUpdate bool, uri []interface{}, flags int32, userId int32) error
}

Jump to

Keyboard shortcuts

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