Documentation
¶
Overview ¶
Package mbms provides Go bindings for android.telephony.mbms.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type DownloadProgressListener
- type DownloadReceiver
- type DownloadRequest
- func (m *DownloadRequest) DescribeContents() (int32, error)
- func (m *DownloadRequest) Equals(arg0 *jni.Object) (bool, error)
- func (m *DownloadRequest) GetDestinationUri() (*jni.Object, error)
- func (m *DownloadRequest) GetFileServiceId() (string, error)
- func (m *DownloadRequest) GetMaxAppIntentSize() (int32, error)
- func (m *DownloadRequest) GetMaxDestinationUriSize() (int32, error)
- func (m *DownloadRequest) GetSourceUri() (*jni.Object, error)
- func (m *DownloadRequest) GetSubscriptionId() (int32, error)
- func (m *DownloadRequest) HashCode() (int32, error)
- func (m *DownloadRequest) ToByteArray() (*jni.Object, error)
- func (m *DownloadRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type DownloadRequestBuilder
- func (m *DownloadRequestBuilder) Build() (*jni.Object, error)
- func (m *DownloadRequestBuilder) FromDownloadRequest(arg0 *jni.Object) (*jni.Object, error)
- func (m *DownloadRequestBuilder) FromSerializedRequest(arg0 *jni.Object) (*jni.Object, error)
- func (m *DownloadRequestBuilder) SetAppIntent(arg0 *jni.Object) (*jni.Object, error)
- func (m *DownloadRequestBuilder) SetServiceInfo(arg0 *jni.Object) (*jni.Object, error)
- func (m *DownloadRequestBuilder) SetSubscriptionId(arg0 int32) (*jni.Object, error)
- type DownloadSessionCallback
- type DownloadStatusListener
- type FileInfo
- func (m *FileInfo) DescribeContents() (int32, error)
- func (m *FileInfo) Equals(arg0 *jni.Object) (bool, error)
- func (m *FileInfo) GetMimeType() (string, error)
- func (m *FileInfo) GetUri() (*jni.Object, error)
- func (m *FileInfo) HashCode() (int32, error)
- func (m *FileInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type FileServiceInfo
- type GroupCall
- type ServiceInfo
- func (m *ServiceInfo) Equals(arg0 *jni.Object) (bool, error)
- func (m *ServiceInfo) GetNameForLocale(arg0 *jni.Object) (*jni.Object, error)
- func (m *ServiceInfo) GetServiceClassName() (string, error)
- func (m *ServiceInfo) GetServiceId() (string, error)
- func (m *ServiceInfo) GetSessionEndTime() (*jni.Object, error)
- func (m *ServiceInfo) GetSessionStartTime() (*jni.Object, error)
- func (m *ServiceInfo) HashCode() (int32, error)
- type StreamingService
- type StreamingServiceCallback
- func (m *StreamingServiceCallback) OnBroadcastSignalStrengthUpdated(arg0 int32) error
- func (m *StreamingServiceCallback) OnError(arg0 int32, arg1 string) error
- func (m *StreamingServiceCallback) OnMediaDescriptionUpdated() error
- func (m *StreamingServiceCallback) OnStreamMethodUpdated(arg0 int32) error
- func (m *StreamingServiceCallback) OnStreamStateUpdated(arg0 int32, arg1 int32) error
- type StreamingServiceInfo
- type StreamingSessionCallback
Constants ¶
const ( Creator = consts.Creator ReasonByUserRequest = consts.ReasonByUserRequest ReasonFrequencyConflict = consts.ReasonFrequencyConflict ReasonLeftMbmsBroadcastArea = consts.ReasonLeftMbmsBroadcastArea ReasonNone = consts.ReasonNone ReasonNotConnectedToHomecarrierLte = consts.ReasonNotConnectedToHomecarrierLte ReasonOutOfMemory = consts.ReasonOutOfMemory StateStalled = consts.StateStalled StateStarted = consts.StateStarted StateStopped = consts.StateStopped ErrorMiddlewareLost = consts.ErrorMiddlewareLost ErrorMiddlewareNotBound = consts.ErrorMiddlewareNotBound ErrorNoUniqueMiddleware = consts.ErrorNoUniqueMiddleware Success = consts.Success Unknown = consts.Unknown ErrorCannotChangeTempFileRoot = consts.ErrorCannotChangeTempFileRoot ErrorMalformedServiceAnnouncement = consts.ErrorMalformedServiceAnnouncement ErrorUnknownDownloadRequest = consts.ErrorUnknownDownloadRequest ErrorUnknownFileInfo = consts.ErrorUnknownFileInfo ErrorCarrierChangeNotAllowed = consts.ErrorCarrierChangeNotAllowed ErrorInE911 = consts.ErrorInE911 ErrorMiddlewareNotYetReady = consts.ErrorMiddlewareNotYetReady ErrorNotConnectedToHomeCarrierLte = consts.ErrorNotConnectedToHomeCarrierLte ErrorOutOfMemory = consts.ErrorOutOfMemory ErrorUnableToReadSim = consts.ErrorUnableToReadSim ErrorDuplicateStartGroupCall = consts.ErrorDuplicateStartGroupCall ErrorUnableToStartService = consts.ErrorUnableToStartService ErrorAppPermissionsNotGranted = consts.ErrorAppPermissionsNotGranted ErrorDuplicateInitialize = consts.ErrorDuplicateInitialize ErrorUnableToInitialize = consts.ErrorUnableToInitialize ErrorConcurrentServiceLimitReached = consts.ErrorConcurrentServiceLimitReached ErrorDuplicateStartStream = consts.ErrorDuplicateStartStream BroadcastMethod = consts.BroadcastMethod ReasonEndOfSession = consts.ReasonEndOfSession UnicastMethod = consts.UnicastMethod )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadProgressListener ¶
DownloadProgressListener wraps android.telephony.mbms.DownloadProgressListener.
func NewDownloadProgressListener ¶
func NewDownloadProgressListener(vm *jni.VM) (*DownloadProgressListener, error)
NewDownloadProgressListener creates a new android.telephony.mbms.DownloadProgressListener instance.
type DownloadReceiver ¶
DownloadReceiver wraps android.telephony.mbms.MbmsDownloadReceiver.
func NewDownloadReceiver ¶
func NewDownloadReceiver(vm *jni.VM) (*DownloadReceiver, error)
NewDownloadReceiver creates a new android.telephony.mbms.MbmsDownloadReceiver instance.
type DownloadRequest ¶
DownloadRequest wraps android.telephony.mbms.DownloadRequest.
func (*DownloadRequest) DescribeContents ¶
func (m *DownloadRequest) DescribeContents() (int32, error)
DescribeContents calls android.telephony.mbms.DownloadRequest.describeContents.
func (*DownloadRequest) Equals ¶
func (m *DownloadRequest) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.telephony.mbms.DownloadRequest.equals.
func (*DownloadRequest) GetDestinationUri ¶
func (m *DownloadRequest) GetDestinationUri() (*jni.Object, error)
GetDestinationUri calls android.telephony.mbms.DownloadRequest.getDestinationUri.
func (*DownloadRequest) GetFileServiceId ¶
func (m *DownloadRequest) GetFileServiceId() (string, error)
GetFileServiceId calls android.telephony.mbms.DownloadRequest.getFileServiceId.
func (*DownloadRequest) GetMaxAppIntentSize ¶
func (m *DownloadRequest) GetMaxAppIntentSize() (int32, error)
GetMaxAppIntentSize calls android.telephony.mbms.DownloadRequest.getMaxAppIntentSize.
func (*DownloadRequest) GetMaxDestinationUriSize ¶
func (m *DownloadRequest) GetMaxDestinationUriSize() (int32, error)
GetMaxDestinationUriSize calls android.telephony.mbms.DownloadRequest.getMaxDestinationUriSize.
func (*DownloadRequest) GetSourceUri ¶
func (m *DownloadRequest) GetSourceUri() (*jni.Object, error)
GetSourceUri calls android.telephony.mbms.DownloadRequest.getSourceUri.
func (*DownloadRequest) GetSubscriptionId ¶
func (m *DownloadRequest) GetSubscriptionId() (int32, error)
GetSubscriptionId calls android.telephony.mbms.DownloadRequest.getSubscriptionId.
func (*DownloadRequest) HashCode ¶
func (m *DownloadRequest) HashCode() (int32, error)
HashCode calls android.telephony.mbms.DownloadRequest.hashCode.
func (*DownloadRequest) ToByteArray ¶
func (m *DownloadRequest) ToByteArray() (*jni.Object, error)
ToByteArray calls android.telephony.mbms.DownloadRequest.toByteArray.
func (*DownloadRequest) WriteToParcel ¶
func (m *DownloadRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.telephony.mbms.DownloadRequest.writeToParcel.
type DownloadRequestBuilder ¶
DownloadRequestBuilder wraps android.telephony.mbms.DownloadRequest$Builder.
func (*DownloadRequestBuilder) Build ¶
func (m *DownloadRequestBuilder) Build() (*jni.Object, error)
Build calls android.telephony.mbms.DownloadRequest$Builder.build.
func (*DownloadRequestBuilder) FromDownloadRequest ¶
FromDownloadRequest calls android.telephony.mbms.DownloadRequest$Builder.fromDownloadRequest.
func (*DownloadRequestBuilder) FromSerializedRequest ¶
FromSerializedRequest calls android.telephony.mbms.DownloadRequest$Builder.fromSerializedRequest.
func (*DownloadRequestBuilder) SetAppIntent ¶
SetAppIntent calls android.telephony.mbms.DownloadRequest$Builder.setAppIntent.
func (*DownloadRequestBuilder) SetServiceInfo ¶
SetServiceInfo calls android.telephony.mbms.DownloadRequest$Builder.setServiceInfo.
func (*DownloadRequestBuilder) SetSubscriptionId ¶
func (m *DownloadRequestBuilder) SetSubscriptionId(arg0 int32) (*jni.Object, error)
SetSubscriptionId calls android.telephony.mbms.DownloadRequest$Builder.setSubscriptionId.
type DownloadSessionCallback ¶
DownloadSessionCallback wraps android.telephony.mbms.MbmsDownloadSessionCallback.
func NewDownloadSessionCallback ¶
func NewDownloadSessionCallback(vm *jni.VM) (*DownloadSessionCallback, error)
NewDownloadSessionCallback creates a new android.telephony.mbms.MbmsDownloadSessionCallback instance.
func (*DownloadSessionCallback) OnError ¶
func (m *DownloadSessionCallback) OnError(arg0 int32, arg1 string) error
OnError calls android.telephony.mbms.MbmsDownloadSessionCallback.onError.
func (*DownloadSessionCallback) OnMiddlewareReady ¶
func (m *DownloadSessionCallback) OnMiddlewareReady() error
OnMiddlewareReady calls android.telephony.mbms.MbmsDownloadSessionCallback.onMiddlewareReady.
type DownloadStatusListener ¶
DownloadStatusListener wraps android.telephony.mbms.DownloadStatusListener.
func NewDownloadStatusListener ¶
func NewDownloadStatusListener(vm *jni.VM) (*DownloadStatusListener, error)
NewDownloadStatusListener creates a new android.telephony.mbms.DownloadStatusListener instance.
func (*DownloadStatusListener) OnStatusUpdated ¶
func (m *DownloadStatusListener) OnStatusUpdated( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, ) error
OnStatusUpdated calls android.telephony.mbms.DownloadStatusListener.onStatusUpdated.
type FileInfo ¶
FileInfo wraps android.telephony.mbms.FileInfo.
func (*FileInfo) DescribeContents ¶
DescribeContents calls android.telephony.mbms.FileInfo.describeContents.
func (*FileInfo) GetMimeType ¶
GetMimeType calls android.telephony.mbms.FileInfo.getMimeType.
type FileServiceInfo ¶
FileServiceInfo wraps android.telephony.mbms.FileServiceInfo.
func (*FileServiceInfo) DescribeContents ¶
func (m *FileServiceInfo) DescribeContents() (int32, error)
DescribeContents calls android.telephony.mbms.FileServiceInfo.describeContents.
func (*FileServiceInfo) WriteToParcel ¶
func (m *FileServiceInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.telephony.mbms.FileServiceInfo.writeToParcel.
type GroupCall ¶
GroupCall wraps android.telephony.mbms.GroupCall.
type ServiceInfo ¶
ServiceInfo wraps android.telephony.mbms.ServiceInfo.
func (*ServiceInfo) Equals ¶
func (m *ServiceInfo) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.telephony.mbms.ServiceInfo.equals.
func (*ServiceInfo) GetNameForLocale ¶
GetNameForLocale calls android.telephony.mbms.ServiceInfo.getNameForLocale.
func (*ServiceInfo) GetServiceClassName ¶
func (m *ServiceInfo) GetServiceClassName() (string, error)
GetServiceClassName calls android.telephony.mbms.ServiceInfo.getServiceClassName.
func (*ServiceInfo) GetServiceId ¶
func (m *ServiceInfo) GetServiceId() (string, error)
GetServiceId calls android.telephony.mbms.ServiceInfo.getServiceId.
func (*ServiceInfo) GetSessionEndTime ¶
func (m *ServiceInfo) GetSessionEndTime() (*jni.Object, error)
GetSessionEndTime calls android.telephony.mbms.ServiceInfo.getSessionEndTime.
func (*ServiceInfo) GetSessionStartTime ¶
func (m *ServiceInfo) GetSessionStartTime() (*jni.Object, error)
GetSessionStartTime calls android.telephony.mbms.ServiceInfo.getSessionStartTime.
func (*ServiceInfo) HashCode ¶
func (m *ServiceInfo) HashCode() (int32, error)
HashCode calls android.telephony.mbms.ServiceInfo.hashCode.
type StreamingService ¶
StreamingService wraps android.telephony.mbms.StreamingService.
func (*StreamingService) Close ¶
func (m *StreamingService) Close() error
Close calls android.telephony.mbms.StreamingService.close.
func (*StreamingService) GetInfo ¶
func (m *StreamingService) GetInfo() (*jni.Object, error)
GetInfo calls android.telephony.mbms.StreamingService.getInfo.
func (*StreamingService) GetPlaybackUri ¶
func (m *StreamingService) GetPlaybackUri() (*jni.Object, error)
GetPlaybackUri calls android.telephony.mbms.StreamingService.getPlaybackUri.
type StreamingServiceCallback ¶
StreamingServiceCallback wraps android.telephony.mbms.StreamingServiceCallback.
func NewStreamingServiceCallback ¶
func NewStreamingServiceCallback(vm *jni.VM) (*StreamingServiceCallback, error)
NewStreamingServiceCallback creates a new android.telephony.mbms.StreamingServiceCallback instance.
func (*StreamingServiceCallback) OnBroadcastSignalStrengthUpdated ¶
func (m *StreamingServiceCallback) OnBroadcastSignalStrengthUpdated(arg0 int32) error
OnBroadcastSignalStrengthUpdated calls android.telephony.mbms.StreamingServiceCallback.onBroadcastSignalStrengthUpdated.
func (*StreamingServiceCallback) OnError ¶
func (m *StreamingServiceCallback) OnError(arg0 int32, arg1 string) error
OnError calls android.telephony.mbms.StreamingServiceCallback.onError.
func (*StreamingServiceCallback) OnMediaDescriptionUpdated ¶
func (m *StreamingServiceCallback) OnMediaDescriptionUpdated() error
OnMediaDescriptionUpdated calls android.telephony.mbms.StreamingServiceCallback.onMediaDescriptionUpdated.
func (*StreamingServiceCallback) OnStreamMethodUpdated ¶
func (m *StreamingServiceCallback) OnStreamMethodUpdated(arg0 int32) error
OnStreamMethodUpdated calls android.telephony.mbms.StreamingServiceCallback.onStreamMethodUpdated.
func (*StreamingServiceCallback) OnStreamStateUpdated ¶
func (m *StreamingServiceCallback) OnStreamStateUpdated(arg0 int32, arg1 int32) error
OnStreamStateUpdated calls android.telephony.mbms.StreamingServiceCallback.onStreamStateUpdated.
type StreamingServiceInfo ¶
StreamingServiceInfo wraps android.telephony.mbms.StreamingServiceInfo.
func (*StreamingServiceInfo) DescribeContents ¶
func (m *StreamingServiceInfo) DescribeContents() (int32, error)
DescribeContents calls android.telephony.mbms.StreamingServiceInfo.describeContents.
func (*StreamingServiceInfo) WriteToParcel ¶
func (m *StreamingServiceInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.telephony.mbms.StreamingServiceInfo.writeToParcel.
type StreamingSessionCallback ¶
StreamingSessionCallback wraps android.telephony.mbms.MbmsStreamingSessionCallback.
func NewStreamingSessionCallback ¶
func NewStreamingSessionCallback(vm *jni.VM) (*StreamingSessionCallback, error)
NewStreamingSessionCallback creates a new android.telephony.mbms.MbmsStreamingSessionCallback instance.
func (*StreamingSessionCallback) OnError ¶
func (m *StreamingSessionCallback) OnError(arg0 int32, arg1 string) error
OnError calls android.telephony.mbms.MbmsStreamingSessionCallback.onError.
func (*StreamingSessionCallback) OnMiddlewareReady ¶
func (m *StreamingSessionCallback) OnMiddlewareReady() error
OnMiddlewareReady calls android.telephony.mbms.MbmsStreamingSessionCallback.onMiddlewareReady.
Source Files
¶
- constants.go
- doc.go
- download_progress_listener.go
- download_receiver.go
- download_request.go
- download_request_builder.go
- download_session_callback.go
- download_status_listener.go
- file_info.go
- file_service_info.go
- group_call.go
- init.go
- service_info.go
- streaming_service.go
- streaming_service_callback.go
- streaming_service_info.go
- streaming_session_callback.go