Documentation
¶
Index ¶
Constants ¶
const ( TransactionINoteTaskBubblesServiceAreBubblesAvailable = binder.FirstCallTransaction + 0 TransactionINoteTaskBubblesServiceShowOrHideAppBubble = binder.FirstCallTransaction + 1 )
const ( MethodINoteTaskBubblesServiceAreBubblesAvailable = "areBubblesAvailable" MethodINoteTaskBubblesServiceShowOrHideAppBubble = "showOrHideAppBubble" )
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 ¶
func NewNoteTaskBubblesServiceProxy ¶
func NewNoteTaskBubblesServiceProxy( remote binder.IBinder, ) *NoteTaskBubblesServiceProxy
func (*NoteTaskBubblesServiceProxy) AreBubblesAvailable ¶
func (p *NoteTaskBubblesServiceProxy) AreBubblesAvailable( ctx context.Context, ) (bool, error)
func (*NoteTaskBubblesServiceProxy) AsBinder ¶
func (p *NoteTaskBubblesServiceProxy) AsBinder() binder.IBinder
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)