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 ¶
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 ¶
func (*ImsFeatureContainer) MarshalParcel ¶
func (s *ImsFeatureContainer) MarshalParcel( p *parcel.Parcel, ) error
func (*ImsFeatureContainer) UnmarshalParcel ¶
func (s *ImsFeatureContainer) UnmarshalParcel( p *parcel.Parcel, ) error
Click to show internal directories.
Click to hide internal directories.