Documentation
¶
Index ¶
- Constants
- type CinematicEffectListenerProxy
- type CinematicEffectListenerStub
- type CinematicEffectRequest
- type CinematicEffectResponse
- type ICinematicEffectListener
- type ICinematicEffectListenerServer
- type IWallpaperEffectsGenerationManager
- type IWallpaperEffectsGenerationManagerServer
- type WallpaperEffectsGenerationManagerProxy
- func (p *WallpaperEffectsGenerationManagerProxy) AsBinder() binder.IBinder
- func (p *WallpaperEffectsGenerationManagerProxy) GenerateCinematicEffect(ctx context.Context, request CinematicEffectRequest, ...) error
- func (p *WallpaperEffectsGenerationManagerProxy) ReturnCinematicEffectResponse(ctx context.Context, response CinematicEffectResponse) error
- type WallpaperEffectsGenerationManagerStub
Constants ¶
const ( TransactionIWallpaperEffectsGenerationManagerGenerateCinematicEffect = binder.FirstCallTransaction + 0 TransactionIWallpaperEffectsGenerationManagerReturnCinematicEffectResponse = binder.FirstCallTransaction + 1 )
const ( MethodIWallpaperEffectsGenerationManagerGenerateCinematicEffect = "generateCinematicEffect" MethodIWallpaperEffectsGenerationManagerReturnCinematicEffectResponse = "returnCinematicEffectResponse" )
const DescriptorICinematicEffectListener = "android.app.wallpapereffectsgeneration.ICinematicEffectListener"
const DescriptorIWallpaperEffectsGenerationManager = "android.app.wallpapereffectsgeneration.IWallpaperEffectsGenerationManager"
const (
MethodICinematicEffectListenerOnCinematicEffectGenerated = "onCinematicEffectGenerated"
)
const (
TransactionICinematicEffectListenerOnCinematicEffectGenerated = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CinematicEffectListenerProxy ¶
func NewCinematicEffectListenerProxy ¶
func NewCinematicEffectListenerProxy( remote binder.IBinder, ) *CinematicEffectListenerProxy
func (*CinematicEffectListenerProxy) AsBinder ¶
func (p *CinematicEffectListenerProxy) AsBinder() binder.IBinder
func (*CinematicEffectListenerProxy) OnCinematicEffectGenerated ¶
func (p *CinematicEffectListenerProxy) OnCinematicEffectGenerated( ctx context.Context, response CinematicEffectResponse, ) error
type CinematicEffectListenerStub ¶
type CinematicEffectListenerStub struct {
Impl ICinematicEffectListener
Transport binder.VersionAwareTransport
}
CinematicEffectListenerStub dispatches incoming binder transactions to a typed ICinematicEffectListener implementation.
func (*CinematicEffectListenerStub) Descriptor ¶
func (s *CinematicEffectListenerStub) Descriptor() string
func (*CinematicEffectListenerStub) OnTransaction ¶
func (s *CinematicEffectListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type CinematicEffectRequest ¶
type CinematicEffectRequest struct {
TaskId string
}
func (*CinematicEffectRequest) MarshalParcel ¶
func (s *CinematicEffectRequest) MarshalParcel( p *parcel.Parcel, ) error
func (*CinematicEffectRequest) UnmarshalParcel ¶
func (s *CinematicEffectRequest) UnmarshalParcel( p *parcel.Parcel, ) error
type CinematicEffectResponse ¶
func (*CinematicEffectResponse) MarshalParcel ¶
func (s *CinematicEffectResponse) MarshalParcel( p *parcel.Parcel, ) error
func (*CinematicEffectResponse) UnmarshalParcel ¶
func (s *CinematicEffectResponse) UnmarshalParcel( p *parcel.Parcel, ) error
type ICinematicEffectListener ¶
type ICinematicEffectListener interface {
AsBinder() binder.IBinder
OnCinematicEffectGenerated(ctx context.Context, response CinematicEffectResponse) error
}
func NewCinematicEffectListenerStub ¶
func NewCinematicEffectListenerStub( impl ICinematicEffectListenerServer, ) ICinematicEffectListener
NewCinematicEffectListenerStub creates a server-side ICinematicEffectListener wrapping the given server implementation. The returned value satisfies ICinematicEffectListener 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 ICinematicEffectListenerServer ¶
type ICinematicEffectListenerServer interface {
OnCinematicEffectGenerated(ctx context.Context, response CinematicEffectResponse) error
}
ICinematicEffectListenerServer is the server-side interface that user implementations provide to NewCinematicEffectListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWallpaperEffectsGenerationManager ¶
type IWallpaperEffectsGenerationManager interface {
AsBinder() binder.IBinder
GenerateCinematicEffect(ctx context.Context, request CinematicEffectRequest, listener ICinematicEffectListener) error
ReturnCinematicEffectResponse(ctx context.Context, response CinematicEffectResponse) error
}
func NewWallpaperEffectsGenerationManagerStub ¶
func NewWallpaperEffectsGenerationManagerStub( impl IWallpaperEffectsGenerationManagerServer, ) IWallpaperEffectsGenerationManager
NewWallpaperEffectsGenerationManagerStub creates a server-side IWallpaperEffectsGenerationManager wrapping the given server implementation. The returned value satisfies IWallpaperEffectsGenerationManager 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 IWallpaperEffectsGenerationManagerServer ¶
type IWallpaperEffectsGenerationManagerServer interface {
GenerateCinematicEffect(ctx context.Context, request CinematicEffectRequest, listener ICinematicEffectListener) error
ReturnCinematicEffectResponse(ctx context.Context, response CinematicEffectResponse) error
}
IWallpaperEffectsGenerationManagerServer is the server-side interface that user implementations provide to NewWallpaperEffectsGenerationManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type WallpaperEffectsGenerationManagerProxy ¶
func GetWallpaperEffectsGenerationManager ¶
func GetWallpaperEffectsGenerationManager( ctx context.Context, sm *servicemanager.ServiceManager, ) (*WallpaperEffectsGenerationManagerProxy, error)
GetWallpaperEffectsGenerationManager retrieves the WallpaperEffectsGenerationService service and returns a typed proxy.
func NewWallpaperEffectsGenerationManagerProxy ¶
func NewWallpaperEffectsGenerationManagerProxy( remote binder.IBinder, ) *WallpaperEffectsGenerationManagerProxy
func (*WallpaperEffectsGenerationManagerProxy) AsBinder ¶
func (p *WallpaperEffectsGenerationManagerProxy) AsBinder() binder.IBinder
func (*WallpaperEffectsGenerationManagerProxy) GenerateCinematicEffect ¶
func (p *WallpaperEffectsGenerationManagerProxy) GenerateCinematicEffect( ctx context.Context, request CinematicEffectRequest, listener ICinematicEffectListener, ) error
func (*WallpaperEffectsGenerationManagerProxy) ReturnCinematicEffectResponse ¶
func (p *WallpaperEffectsGenerationManagerProxy) ReturnCinematicEffectResponse( ctx context.Context, response CinematicEffectResponse, ) error
type WallpaperEffectsGenerationManagerStub ¶
type WallpaperEffectsGenerationManagerStub struct {
Impl IWallpaperEffectsGenerationManager
Transport binder.VersionAwareTransport
}
WallpaperEffectsGenerationManagerStub dispatches incoming binder transactions to a typed IWallpaperEffectsGenerationManager implementation.
func (*WallpaperEffectsGenerationManagerStub) Descriptor ¶
func (s *WallpaperEffectsGenerationManagerStub) Descriptor() string
func (*WallpaperEffectsGenerationManagerStub) OnTransaction ¶
func (s *WallpaperEffectsGenerationManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)