ims

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransactionImsConfigListenerOnGetFeatureResponse = binder.FirstCallTransaction + 0
	TransactionImsConfigListenerOnSetFeatureResponse = binder.FirstCallTransaction + 1
	TransactionImsConfigListenerOnGetVideoQuality    = binder.FirstCallTransaction + 2
	TransactionImsConfigListenerOnSetVideoQuality    = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodImsConfigListenerOnGetFeatureResponse = "onGetFeatureResponse"
	MethodImsConfigListenerOnSetFeatureResponse = "onSetFeatureResponse"
	MethodImsConfigListenerOnGetVideoQuality    = "onGetVideoQuality"
	MethodImsConfigListenerOnSetVideoQuality    = "onSetVideoQuality"
)
View Source
const DescriptorImsConfigListener = "com.android.ims.ImsConfigListener"

Variables

This section is empty.

Functions

func NewmsConfigListenerProxy

func NewmsConfigListenerProxy(
	remote binder.IBinder,
) *msConfigListenerProxy

Types

type ImsConfigListener

type ImsConfigListener interface {
	AsBinder() binder.IBinder
	OnGetFeatureResponse(ctx context.Context, feature int32, network int32, value int32, status int32) error
	OnSetFeatureResponse(ctx context.Context, feature int32, network int32, value int32, status int32) error
	OnGetVideoQuality(ctx context.Context, status int32, quality int32) error
	OnSetVideoQuality(ctx context.Context, status int32) error
}

func NewmsConfigListenerStub

func NewmsConfigListenerStub(
	impl ImsConfigListenerServer,
) ImsConfigListener

NewmsConfigListenerStub creates a server-side ImsConfigListener wrapping the given server implementation. The returned value satisfies ImsConfigListener 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 ImsConfigListenerServer

type ImsConfigListenerServer interface {
	OnGetFeatureResponse(ctx context.Context, feature int32, network int32, value int32, status int32) error
	OnSetFeatureResponse(ctx context.Context, feature int32, network int32, value int32, status int32) error
	OnGetVideoQuality(ctx context.Context, status int32, quality int32) error
	OnSetVideoQuality(ctx context.Context, status int32) error
}

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

type ImsFeatureContainer

type ImsFeatureContainer struct {
	State        int32
	Capabilities int64
}

func (*ImsFeatureContainer) MarshalParcel

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

func (*ImsFeatureContainer) UnmarshalParcel

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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