Documentation
¶
Index ¶
- Constants
- type IMbmsDownloadService
- type IMbmsDownloadServiceServer
- type IMbmsGroupCallService
- type IMbmsGroupCallServiceServer
- type IMbmsStreamingService
- type IMbmsStreamingServiceServer
- type MbmsDownloadServiceProxy
- func (p *MbmsDownloadServiceProxy) AddProgressListener(ctx context.Context, downloadRequest mbms.DownloadRequest, ...) (int32, error)
- func (p *MbmsDownloadServiceProxy) AddServiceAnnouncement(ctx context.Context, subId int32, contents []byte) (int32, error)
- func (p *MbmsDownloadServiceProxy) AddStatusListener(ctx context.Context, downloadRequest mbms.DownloadRequest, ...) (int32, error)
- func (p *MbmsDownloadServiceProxy) AsBinder() binder.IBinder
- func (p *MbmsDownloadServiceProxy) CancelDownload(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
- func (p *MbmsDownloadServiceProxy) Dispose(ctx context.Context, subId int32) error
- func (p *MbmsDownloadServiceProxy) Download(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
- func (p *MbmsDownloadServiceProxy) Initialize(ctx context.Context, subId int32, listener mbms.IMbmsDownloadSessionCallback) (int32, error)
- func (p *MbmsDownloadServiceProxy) ListPendingDownloads(ctx context.Context, subscriptionId int32) ([]mbms.DownloadRequest, error)
- func (p *MbmsDownloadServiceProxy) RemoveProgressListener(ctx context.Context, downloadRequest mbms.DownloadRequest, ...) (int32, error)
- func (p *MbmsDownloadServiceProxy) RemoveStatusListener(ctx context.Context, downloadRequest mbms.DownloadRequest, ...) (int32, error)
- func (p *MbmsDownloadServiceProxy) RequestDownloadState(ctx context.Context, downloadRequest mbms.DownloadRequest, ...) (int32, error)
- func (p *MbmsDownloadServiceProxy) RequestUpdateFileServices(ctx context.Context, subId int32, serviceClasses []string) (int32, error)
- func (p *MbmsDownloadServiceProxy) ResetDownloadKnowledge(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
- func (p *MbmsDownloadServiceProxy) SetTempFileRootDirectory(ctx context.Context, subId int32, rootDirectoryPath string) (int32, error)
- type MbmsDownloadServiceStub
- type MbmsGroupCallServiceProxy
- func (p *MbmsGroupCallServiceProxy) AsBinder() binder.IBinder
- func (p *MbmsGroupCallServiceProxy) Dispose(ctx context.Context, subId int32) error
- func (p *MbmsGroupCallServiceProxy) Initialize(ctx context.Context, callback mbms.IMbmsGroupCallSessionCallback, subId int32) (int32, error)
- func (p *MbmsGroupCallServiceProxy) StartGroupCall(ctx context.Context, subscriptionId int32, tmgi int64, saiList []any, ...) (int32, error)
- func (p *MbmsGroupCallServiceProxy) StopGroupCall(ctx context.Context, subId int32, tmgi int64) error
- func (p *MbmsGroupCallServiceProxy) UpdateGroupCall(ctx context.Context, subscriptionId int32, tmgi int64, saiList []any, ...) error
- type MbmsGroupCallServiceStub
- type MbmsStreamingServiceProxy
- func (p *MbmsStreamingServiceProxy) AsBinder() binder.IBinder
- func (p *MbmsStreamingServiceProxy) Dispose(ctx context.Context, subId int32) error
- func (p *MbmsStreamingServiceProxy) GetPlaybackUri(ctx context.Context, subId int32, serviceId string) (net.Uri, error)
- func (p *MbmsStreamingServiceProxy) Initialize(ctx context.Context, callback mbms.IMbmsStreamingSessionCallback, subId int32) (int32, error)
- func (p *MbmsStreamingServiceProxy) RequestUpdateStreamingServices(ctx context.Context, subId int32, serviceClasses []string) (int32, error)
- func (p *MbmsStreamingServiceProxy) StartStreaming(ctx context.Context, subId int32, serviceId string, ...) (int32, error)
- func (p *MbmsStreamingServiceProxy) StopStreaming(ctx context.Context, subId int32, serviceId string) error
- type MbmsStreamingServiceStub
Constants ¶
const ( TransactionIMbmsDownloadServiceInitialize = binder.FirstCallTransaction + 0 TransactionIMbmsDownloadServiceRequestUpdateFileServices = binder.FirstCallTransaction + 1 TransactionIMbmsDownloadServiceSetTempFileRootDirectory = binder.FirstCallTransaction + 2 TransactionIMbmsDownloadServiceAddServiceAnnouncement = binder.FirstCallTransaction + 3 TransactionIMbmsDownloadServiceDownload = binder.FirstCallTransaction + 4 TransactionIMbmsDownloadServiceAddStatusListener = binder.FirstCallTransaction + 5 TransactionIMbmsDownloadServiceRemoveStatusListener = binder.FirstCallTransaction + 6 TransactionIMbmsDownloadServiceAddProgressListener = binder.FirstCallTransaction + 7 TransactionIMbmsDownloadServiceRemoveProgressListener = binder.FirstCallTransaction + 8 TransactionIMbmsDownloadServiceListPendingDownloads = binder.FirstCallTransaction + 9 TransactionIMbmsDownloadServiceCancelDownload = binder.FirstCallTransaction + 10 TransactionIMbmsDownloadServiceRequestDownloadState = binder.FirstCallTransaction + 11 TransactionIMbmsDownloadServiceResetDownloadKnowledge = binder.FirstCallTransaction + 12 TransactionIMbmsDownloadServiceDispose = binder.FirstCallTransaction + 13 )
const ( MethodIMbmsDownloadServiceInitialize = "initialize" MethodIMbmsDownloadServiceRequestUpdateFileServices = "requestUpdateFileServices" MethodIMbmsDownloadServiceSetTempFileRootDirectory = "setTempFileRootDirectory" MethodIMbmsDownloadServiceAddServiceAnnouncement = "addServiceAnnouncement" MethodIMbmsDownloadServiceDownload = "download" MethodIMbmsDownloadServiceAddStatusListener = "addStatusListener" MethodIMbmsDownloadServiceRemoveStatusListener = "removeStatusListener" MethodIMbmsDownloadServiceAddProgressListener = "addProgressListener" MethodIMbmsDownloadServiceRemoveProgressListener = "removeProgressListener" MethodIMbmsDownloadServiceListPendingDownloads = "listPendingDownloads" MethodIMbmsDownloadServiceCancelDownload = "cancelDownload" MethodIMbmsDownloadServiceRequestDownloadState = "requestDownloadState" MethodIMbmsDownloadServiceResetDownloadKnowledge = "resetDownloadKnowledge" MethodIMbmsDownloadServiceDispose = "dispose" )
const ( TransactionIMbmsGroupCallServiceInitialize = binder.FirstCallTransaction + 0 TransactionIMbmsGroupCallServiceStopGroupCall = binder.FirstCallTransaction + 1 TransactionIMbmsGroupCallServiceUpdateGroupCall = binder.FirstCallTransaction + 2 TransactionIMbmsGroupCallServiceStartGroupCall = binder.FirstCallTransaction + 3 TransactionIMbmsGroupCallServiceDispose = binder.FirstCallTransaction + 4 )
const ( MethodIMbmsGroupCallServiceInitialize = "initialize" MethodIMbmsGroupCallServiceStopGroupCall = "stopGroupCall" MethodIMbmsGroupCallServiceUpdateGroupCall = "updateGroupCall" MethodIMbmsGroupCallServiceStartGroupCall = "startGroupCall" MethodIMbmsGroupCallServiceDispose = "dispose" )
const ( TransactionIMbmsStreamingServiceInitialize = binder.FirstCallTransaction + 0 TransactionIMbmsStreamingServiceRequestUpdateStreamingServices = binder.FirstCallTransaction + 1 TransactionIMbmsStreamingServiceStartStreaming = binder.FirstCallTransaction + 2 TransactionIMbmsStreamingServiceGetPlaybackUri = binder.FirstCallTransaction + 3 TransactionIMbmsStreamingServiceStopStreaming = binder.FirstCallTransaction + 4 TransactionIMbmsStreamingServiceDispose = binder.FirstCallTransaction + 5 )
const ( MethodIMbmsStreamingServiceInitialize = "initialize" MethodIMbmsStreamingServiceRequestUpdateStreamingServices = "requestUpdateStreamingServices" MethodIMbmsStreamingServiceStartStreaming = "startStreaming" MethodIMbmsStreamingServiceGetPlaybackUri = "getPlaybackUri" MethodIMbmsStreamingServiceStopStreaming = "stopStreaming" MethodIMbmsStreamingServiceDispose = "dispose" )
const DescriptorIMbmsDownloadService = "android.telephony.mbms.vendor.IMbmsDownloadService"
const DescriptorIMbmsGroupCallService = "android.telephony.mbms.vendor.IMbmsGroupCallService"
const DescriptorIMbmsStreamingService = "android.telephony.mbms.vendor.IMbmsStreamingService"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMbmsDownloadService ¶
type IMbmsDownloadService interface {
AsBinder() binder.IBinder
Initialize(ctx context.Context, subId int32, listener mbms.IMbmsDownloadSessionCallback) (int32, error)
RequestUpdateFileServices(ctx context.Context, subId int32, serviceClasses []string) (int32, error)
SetTempFileRootDirectory(ctx context.Context, subId int32, rootDirectoryPath string) (int32, error)
AddServiceAnnouncement(ctx context.Context, subId int32, contents []byte) (int32, error)
Download(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
AddStatusListener(ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadStatusListener) (int32, error)
RemoveStatusListener(ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadStatusListener) (int32, error)
AddProgressListener(ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadProgressListener) (int32, error)
RemoveProgressListener(ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadProgressListener) (int32, error)
ListPendingDownloads(ctx context.Context, subscriptionId int32) ([]mbms.DownloadRequest, error)
CancelDownload(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
RequestDownloadState(ctx context.Context, downloadRequest mbms.DownloadRequest, fileInfo mbms.FileInfo) (int32, error)
ResetDownloadKnowledge(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
Dispose(ctx context.Context, subId int32) error
}
func NewMbmsDownloadServiceStub ¶
func NewMbmsDownloadServiceStub( impl IMbmsDownloadServiceServer, ) IMbmsDownloadService
NewMbmsDownloadServiceStub creates a server-side IMbmsDownloadService wrapping the given server implementation. The returned value satisfies IMbmsDownloadService 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 IMbmsDownloadServiceServer ¶
type IMbmsDownloadServiceServer interface {
Initialize(ctx context.Context, subId int32, listener mbms.IMbmsDownloadSessionCallback) (int32, error)
RequestUpdateFileServices(ctx context.Context, subId int32, serviceClasses []string) (int32, error)
SetTempFileRootDirectory(ctx context.Context, subId int32, rootDirectoryPath string) (int32, error)
AddServiceAnnouncement(ctx context.Context, subId int32, contents []byte) (int32, error)
Download(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
AddStatusListener(ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadStatusListener) (int32, error)
RemoveStatusListener(ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadStatusListener) (int32, error)
AddProgressListener(ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadProgressListener) (int32, error)
RemoveProgressListener(ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadProgressListener) (int32, error)
ListPendingDownloads(ctx context.Context, subscriptionId int32) ([]mbms.DownloadRequest, error)
CancelDownload(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
RequestDownloadState(ctx context.Context, downloadRequest mbms.DownloadRequest, fileInfo mbms.FileInfo) (int32, error)
ResetDownloadKnowledge(ctx context.Context, downloadRequest mbms.DownloadRequest) (int32, error)
Dispose(ctx context.Context, subId int32) error
}
IMbmsDownloadServiceServer is the server-side interface that user implementations provide to NewMbmsDownloadServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IMbmsGroupCallService ¶
type IMbmsGroupCallService interface {
AsBinder() binder.IBinder
Initialize(ctx context.Context, callback mbms.IMbmsGroupCallSessionCallback, subId int32) (int32, error)
StopGroupCall(ctx context.Context, subId int32, tmgi int64) error
UpdateGroupCall(ctx context.Context, subscriptionId int32, tmgi int64, saiList []any, frequencyList []any) error
StartGroupCall(ctx context.Context, subscriptionId int32, tmgi int64, saiList []any, frequencyList []any, callback mbms.IGroupCallCallback) (int32, error)
Dispose(ctx context.Context, subId int32) error
}
func NewMbmsGroupCallServiceStub ¶
func NewMbmsGroupCallServiceStub( impl IMbmsGroupCallServiceServer, ) IMbmsGroupCallService
NewMbmsGroupCallServiceStub creates a server-side IMbmsGroupCallService wrapping the given server implementation. The returned value satisfies IMbmsGroupCallService 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 IMbmsGroupCallServiceServer ¶
type IMbmsGroupCallServiceServer interface {
Initialize(ctx context.Context, callback mbms.IMbmsGroupCallSessionCallback, subId int32) (int32, error)
StopGroupCall(ctx context.Context, subId int32, tmgi int64) error
UpdateGroupCall(ctx context.Context, subscriptionId int32, tmgi int64, saiList []any, frequencyList []any) error
StartGroupCall(ctx context.Context, subscriptionId int32, tmgi int64, saiList []any, frequencyList []any, callback mbms.IGroupCallCallback) (int32, error)
Dispose(ctx context.Context, subId int32) error
}
IMbmsGroupCallServiceServer is the server-side interface that user implementations provide to NewMbmsGroupCallServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IMbmsStreamingService ¶
type IMbmsStreamingService interface {
AsBinder() binder.IBinder
Initialize(ctx context.Context, callback mbms.IMbmsStreamingSessionCallback, subId int32) (int32, error)
RequestUpdateStreamingServices(ctx context.Context, subId int32, serviceClasses []string) (int32, error)
StartStreaming(ctx context.Context, subId int32, serviceId string, callback mbms.IStreamingServiceCallback) (int32, error)
GetPlaybackUri(ctx context.Context, subId int32, serviceId string) (net.Uri, error)
StopStreaming(ctx context.Context, subId int32, serviceId string) error
Dispose(ctx context.Context, subId int32) error
}
func NewMbmsStreamingServiceStub ¶
func NewMbmsStreamingServiceStub( impl IMbmsStreamingServiceServer, ) IMbmsStreamingService
NewMbmsStreamingServiceStub creates a server-side IMbmsStreamingService wrapping the given server implementation. The returned value satisfies IMbmsStreamingService 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 IMbmsStreamingServiceServer ¶
type IMbmsStreamingServiceServer interface {
Initialize(ctx context.Context, callback mbms.IMbmsStreamingSessionCallback, subId int32) (int32, error)
RequestUpdateStreamingServices(ctx context.Context, subId int32, serviceClasses []string) (int32, error)
StartStreaming(ctx context.Context, subId int32, serviceId string, callback mbms.IStreamingServiceCallback) (int32, error)
GetPlaybackUri(ctx context.Context, subId int32, serviceId string) (net.Uri, error)
StopStreaming(ctx context.Context, subId int32, serviceId string) error
Dispose(ctx context.Context, subId int32) error
}
IMbmsStreamingServiceServer is the server-side interface that user implementations provide to NewMbmsStreamingServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type MbmsDownloadServiceProxy ¶
func NewMbmsDownloadServiceProxy ¶
func NewMbmsDownloadServiceProxy( remote binder.IBinder, ) *MbmsDownloadServiceProxy
func (*MbmsDownloadServiceProxy) AddProgressListener ¶
func (p *MbmsDownloadServiceProxy) AddProgressListener( ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadProgressListener, ) (int32, error)
func (*MbmsDownloadServiceProxy) AddServiceAnnouncement ¶
func (*MbmsDownloadServiceProxy) AddStatusListener ¶
func (p *MbmsDownloadServiceProxy) AddStatusListener( ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadStatusListener, ) (int32, error)
func (*MbmsDownloadServiceProxy) AsBinder ¶
func (p *MbmsDownloadServiceProxy) AsBinder() binder.IBinder
func (*MbmsDownloadServiceProxy) CancelDownload ¶
func (p *MbmsDownloadServiceProxy) CancelDownload( ctx context.Context, downloadRequest mbms.DownloadRequest, ) (int32, error)
func (*MbmsDownloadServiceProxy) Dispose ¶
func (p *MbmsDownloadServiceProxy) Dispose( ctx context.Context, subId int32, ) error
func (*MbmsDownloadServiceProxy) Download ¶
func (p *MbmsDownloadServiceProxy) Download( ctx context.Context, downloadRequest mbms.DownloadRequest, ) (int32, error)
func (*MbmsDownloadServiceProxy) Initialize ¶
func (p *MbmsDownloadServiceProxy) Initialize( ctx context.Context, subId int32, listener mbms.IMbmsDownloadSessionCallback, ) (int32, error)
func (*MbmsDownloadServiceProxy) ListPendingDownloads ¶
func (p *MbmsDownloadServiceProxy) ListPendingDownloads( ctx context.Context, subscriptionId int32, ) ([]mbms.DownloadRequest, error)
func (*MbmsDownloadServiceProxy) RemoveProgressListener ¶
func (p *MbmsDownloadServiceProxy) RemoveProgressListener( ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadProgressListener, ) (int32, error)
func (*MbmsDownloadServiceProxy) RemoveStatusListener ¶
func (p *MbmsDownloadServiceProxy) RemoveStatusListener( ctx context.Context, downloadRequest mbms.DownloadRequest, listener mbms.IDownloadStatusListener, ) (int32, error)
func (*MbmsDownloadServiceProxy) RequestDownloadState ¶
func (p *MbmsDownloadServiceProxy) RequestDownloadState( ctx context.Context, downloadRequest mbms.DownloadRequest, fileInfo mbms.FileInfo, ) (int32, error)
func (*MbmsDownloadServiceProxy) RequestUpdateFileServices ¶
func (*MbmsDownloadServiceProxy) ResetDownloadKnowledge ¶
func (p *MbmsDownloadServiceProxy) ResetDownloadKnowledge( ctx context.Context, downloadRequest mbms.DownloadRequest, ) (int32, error)
func (*MbmsDownloadServiceProxy) SetTempFileRootDirectory ¶
type MbmsDownloadServiceStub ¶
type MbmsDownloadServiceStub struct {
Impl IMbmsDownloadService
Transport binder.VersionAwareTransport
}
MbmsDownloadServiceStub dispatches incoming binder transactions to a typed IMbmsDownloadService implementation.
func (*MbmsDownloadServiceStub) Descriptor ¶
func (s *MbmsDownloadServiceStub) Descriptor() string
func (*MbmsDownloadServiceStub) OnTransaction ¶
func (s *MbmsDownloadServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type MbmsGroupCallServiceProxy ¶
func NewMbmsGroupCallServiceProxy ¶
func NewMbmsGroupCallServiceProxy( remote binder.IBinder, ) *MbmsGroupCallServiceProxy
func (*MbmsGroupCallServiceProxy) AsBinder ¶
func (p *MbmsGroupCallServiceProxy) AsBinder() binder.IBinder
func (*MbmsGroupCallServiceProxy) Dispose ¶
func (p *MbmsGroupCallServiceProxy) Dispose( ctx context.Context, subId int32, ) error
func (*MbmsGroupCallServiceProxy) Initialize ¶
func (p *MbmsGroupCallServiceProxy) Initialize( ctx context.Context, callback mbms.IMbmsGroupCallSessionCallback, subId int32, ) (int32, error)
func (*MbmsGroupCallServiceProxy) StartGroupCall ¶
func (*MbmsGroupCallServiceProxy) StopGroupCall ¶
func (*MbmsGroupCallServiceProxy) UpdateGroupCall ¶
type MbmsGroupCallServiceStub ¶
type MbmsGroupCallServiceStub struct {
Impl IMbmsGroupCallService
Transport binder.VersionAwareTransport
}
MbmsGroupCallServiceStub dispatches incoming binder transactions to a typed IMbmsGroupCallService implementation.
func (*MbmsGroupCallServiceStub) Descriptor ¶
func (s *MbmsGroupCallServiceStub) Descriptor() string
func (*MbmsGroupCallServiceStub) OnTransaction ¶
func (s *MbmsGroupCallServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type MbmsStreamingServiceProxy ¶
func NewMbmsStreamingServiceProxy ¶
func NewMbmsStreamingServiceProxy( remote binder.IBinder, ) *MbmsStreamingServiceProxy
func (*MbmsStreamingServiceProxy) AsBinder ¶
func (p *MbmsStreamingServiceProxy) AsBinder() binder.IBinder
func (*MbmsStreamingServiceProxy) Dispose ¶
func (p *MbmsStreamingServiceProxy) Dispose( ctx context.Context, subId int32, ) error
func (*MbmsStreamingServiceProxy) GetPlaybackUri ¶
func (*MbmsStreamingServiceProxy) Initialize ¶
func (p *MbmsStreamingServiceProxy) Initialize( ctx context.Context, callback mbms.IMbmsStreamingSessionCallback, subId int32, ) (int32, error)
func (*MbmsStreamingServiceProxy) RequestUpdateStreamingServices ¶
func (*MbmsStreamingServiceProxy) StartStreaming ¶
func (p *MbmsStreamingServiceProxy) StartStreaming( ctx context.Context, subId int32, serviceId string, callback mbms.IStreamingServiceCallback, ) (int32, error)
func (*MbmsStreamingServiceProxy) StopStreaming ¶
type MbmsStreamingServiceStub ¶
type MbmsStreamingServiceStub struct {
Impl IMbmsStreamingService
Transport binder.VersionAwareTransport
}
MbmsStreamingServiceStub dispatches incoming binder transactions to a typed IMbmsStreamingService implementation.
func (*MbmsStreamingServiceStub) Descriptor ¶
func (s *MbmsStreamingServiceStub) Descriptor() string
func (*MbmsStreamingServiceStub) OnTransaction ¶
func (s *MbmsStreamingServiceStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)