Help us shape the future of Go! Take the 2026 Go Developer Survey

notetask

package
v0.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TransactionINoteTaskBubblesServiceAreBubblesAvailable = binder.FirstCallTransaction + 0
	TransactionINoteTaskBubblesServiceShowOrHideAppBubble = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodINoteTaskBubblesServiceAreBubblesAvailable = "areBubblesAvailable"
	MethodINoteTaskBubblesServiceShowOrHideAppBubble = "showOrHideAppBubble"
)
View Source
const DescriptorINoteTaskBubblesService = "com.android.systemui.notetask.INoteTaskBubblesService"

Variables

This section is empty.

Functions

This section is empty.

Types

type INoteTaskBubblesService

type INoteTaskBubblesService interface {
	AsBinder() binder.IBinder
	AreBubblesAvailable(ctx context.Context) (bool, error)
	ShowOrHideAppBubble(ctx context.Context, intent content.Intent, userHandle os.UserHandle, icon drawable.Icon) error
}

func NewNoteTaskBubblesServiceStub

func NewNoteTaskBubblesServiceStub(
	impl INoteTaskBubblesServiceServer,
) INoteTaskBubblesService

NewNoteTaskBubblesServiceStub creates a server-side INoteTaskBubblesService wrapping the given server implementation. The returned value satisfies INoteTaskBubblesService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type INoteTaskBubblesServiceServer

type INoteTaskBubblesServiceServer interface {
	AreBubblesAvailable(ctx context.Context) (bool, error)
	ShowOrHideAppBubble(ctx context.Context, intent content.Intent, userHandle os.UserHandle, icon drawable.Icon) error
}

INoteTaskBubblesServiceServer is the server-side interface that user implementations provide to NewNoteTaskBubblesServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type NoteTaskBubblesServiceProxy

type NoteTaskBubblesServiceProxy struct {
	Remote binder.IBinder
}

func NewNoteTaskBubblesServiceProxy

func NewNoteTaskBubblesServiceProxy(
	remote binder.IBinder,
) *NoteTaskBubblesServiceProxy

func (*NoteTaskBubblesServiceProxy) AreBubblesAvailable

func (p *NoteTaskBubblesServiceProxy) AreBubblesAvailable(
	ctx context.Context,
) (bool, error)

func (*NoteTaskBubblesServiceProxy) AsBinder

func (*NoteTaskBubblesServiceProxy) ShowOrHideAppBubble

func (p *NoteTaskBubblesServiceProxy) ShowOrHideAppBubble(
	ctx context.Context,
	intent content.Intent,
	userHandle os.UserHandle,
	icon drawable.Icon,
) error

type NoteTaskBubblesServiceStub

type NoteTaskBubblesServiceStub struct {
	Impl      INoteTaskBubblesService
	Transport binder.VersionAwareTransport
}

NoteTaskBubblesServiceStub dispatches incoming binder transactions to a typed INoteTaskBubblesService implementation.

func (*NoteTaskBubblesServiceStub) Descriptor

func (s *NoteTaskBubblesServiceStub) Descriptor() string

func (*NoteTaskBubblesServiceStub) OnTransaction

func (s *NoteTaskBubblesServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

Jump to

Keyboard shortcuts

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