Documentation
¶
Index ¶
Constants ¶
const DescriptorIAppClipsScreenshotHelperService = "com.android.systemui.screenshot.appclips.IAppClipsScreenshotHelperService"
const (
MethodIAppClipsScreenshotHelperServiceTakeScreenshot = "takeScreenshot"
)
const (
TransactionIAppClipsScreenshotHelperServiceTakeScreenshot = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppClipsScreenshotHelperServiceProxy ¶
func NewAppClipsScreenshotHelperServiceProxy ¶
func NewAppClipsScreenshotHelperServiceProxy( remote binder.IBinder, ) *AppClipsScreenshotHelperServiceProxy
func (*AppClipsScreenshotHelperServiceProxy) AsBinder ¶
func (p *AppClipsScreenshotHelperServiceProxy) AsBinder() binder.IBinder
func (*AppClipsScreenshotHelperServiceProxy) TakeScreenshot ¶
func (p *AppClipsScreenshotHelperServiceProxy) TakeScreenshot( ctx context.Context, displayId int32, ) (ScreenshotHardwareBufferInternal, error)
type AppClipsScreenshotHelperServiceStub ¶
type AppClipsScreenshotHelperServiceStub struct {
Impl IAppClipsScreenshotHelperService
Transport binder.VersionAwareTransport
}
AppClipsScreenshotHelperServiceStub dispatches incoming binder transactions to a typed IAppClipsScreenshotHelperService implementation.
func (*AppClipsScreenshotHelperServiceStub) Descriptor ¶
func (s *AppClipsScreenshotHelperServiceStub) Descriptor() string
func (*AppClipsScreenshotHelperServiceStub) OnTransaction ¶
func (s *AppClipsScreenshotHelperServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
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