wallpapereffectsgeneration

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransactionIWallpaperEffectsGenerationManagerGenerateCinematicEffect       = binder.FirstCallTransaction + 0
	TransactionIWallpaperEffectsGenerationManagerReturnCinematicEffectResponse = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIWallpaperEffectsGenerationManagerGenerateCinematicEffect       = "generateCinematicEffect"
	MethodIWallpaperEffectsGenerationManagerReturnCinematicEffectResponse = "returnCinematicEffectResponse"
)
View Source
const DescriptorICinematicEffectListener = "android.app.wallpapereffectsgeneration.ICinematicEffectListener"
View Source
const DescriptorIWallpaperEffectsGenerationManager = "android.app.wallpapereffectsgeneration.IWallpaperEffectsGenerationManager"
View Source
const (
	MethodICinematicEffectListenerOnCinematicEffectGenerated = "onCinematicEffectGenerated"
)
View Source
const (
	TransactionICinematicEffectListenerOnCinematicEffectGenerated = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CinematicEffectListenerProxy

type CinematicEffectListenerProxy struct {
	Remote binder.IBinder
}

func NewCinematicEffectListenerProxy

func NewCinematicEffectListenerProxy(
	remote binder.IBinder,
) *CinematicEffectListenerProxy

func (*CinematicEffectListenerProxy) AsBinder

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

type CinematicEffectResponse struct {
	StatusCode       int32
	TaskId           string
	ImageContentType int32
}

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

type WallpaperEffectsGenerationManagerProxy struct {
	Remote binder.IBinder
}

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 (*WallpaperEffectsGenerationManagerProxy) GenerateCinematicEffect

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 (*WallpaperEffectsGenerationManagerStub) OnTransaction

Jump to

Keyboard shortcuts

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