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

appclips

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DescriptorIAppClipsScreenshotHelperService = "com.android.systemui.screenshot.appclips.IAppClipsScreenshotHelperService"
View Source
const (
	MethodIAppClipsScreenshotHelperServiceTakeScreenshot = "takeScreenshot"
)
View Source
const (
	TransactionIAppClipsScreenshotHelperServiceTakeScreenshot = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppClipsScreenshotHelperServiceProxy

type AppClipsScreenshotHelperServiceProxy struct {
	Remote binder.IBinder
}

func NewAppClipsScreenshotHelperServiceProxy

func NewAppClipsScreenshotHelperServiceProxy(
	remote binder.IBinder,
) *AppClipsScreenshotHelperServiceProxy

func (*AppClipsScreenshotHelperServiceProxy) AsBinder

func (*AppClipsScreenshotHelperServiceProxy) TakeScreenshot

type AppClipsScreenshotHelperServiceStub

type AppClipsScreenshotHelperServiceStub struct {
	Impl      IAppClipsScreenshotHelperService
	Transport binder.VersionAwareTransport
}

AppClipsScreenshotHelperServiceStub dispatches incoming binder transactions to a typed IAppClipsScreenshotHelperService implementation.

func (*AppClipsScreenshotHelperServiceStub) Descriptor

func (*AppClipsScreenshotHelperServiceStub) OnTransaction

type IAppClipsScreenshotHelperService

type IAppClipsScreenshotHelperService interface {
	AsBinder() binder.IBinder
	TakeScreenshot(ctx context.Context, displayId int32) (ScreenshotHardwareBufferInternal, error)
}

func NewAppClipsScreenshotHelperServiceStub

func NewAppClipsScreenshotHelperServiceStub(
	impl IAppClipsScreenshotHelperServiceServer,
) IAppClipsScreenshotHelperService

NewAppClipsScreenshotHelperServiceStub creates a server-side IAppClipsScreenshotHelperService wrapping the given server implementation. The returned value satisfies IAppClipsScreenshotHelperService 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 IAppClipsScreenshotHelperServiceServer

type IAppClipsScreenshotHelperServiceServer interface {
	TakeScreenshot(ctx context.Context, displayId int32) (ScreenshotHardwareBufferInternal, error)
}

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

type ScreenshotHardwareBufferInternal

type ScreenshotHardwareBufferInternal struct {
}

func (*ScreenshotHardwareBufferInternal) MarshalParcel

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

func (*ScreenshotHardwareBufferInternal) UnmarshalParcel

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

Jump to

Keyboard shortcuts

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