Documentation
¶
Overview ¶
Package carrier provides Go bindings for android.service.carrier.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type Identifier
- func (m *Identifier) DescribeContents() (int32, error)
- func (m *Identifier) Equals(arg0 *jni.Object) (bool, error)
- func (m *Identifier) GetCarrierId() (int32, error)
- func (m *Identifier) GetGid1() (string, error)
- func (m *Identifier) GetGid2() (string, error)
- func (m *Identifier) GetImsi() (string, error)
- func (m *Identifier) GetMcc() (string, error)
- func (m *Identifier) GetMnc() (string, error)
- func (m *Identifier) GetSpecificCarrierId() (int32, error)
- func (m *Identifier) GetSpn() (string, error)
- func (m *Identifier) HashCode() (int32, error)
- func (m *Identifier) ToString() (string, error)
- func (m *Identifier) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type MessagePdu
- type MessagingClientService
- type MessagingService
- type MessagingServiceSendMmsResult
- type MessagingServiceSendMultipartSmsResult
- type MessagingServiceSendSmsResult
- type Service
- func (m *Service) NotifyCarrierNetworkChange1(arg0 bool) error
- func (m *Service) NotifyCarrierNetworkChange2_1(arg0 int32, arg1 bool) error
- func (m *Service) OnBind(arg0 *jni.Object) (*jni.Object, error)
- func (m *Service) OnLoadConfig1(arg0 *jni.Object) (*jni.Object, error)
- func (m *Service) OnLoadConfig2_1(arg0 int32, arg1 *jni.Object) (*jni.Object, error)
Constants ¶
const ( Creator = consts.Creator DownloadStatusError = consts.DownloadStatusError DownloadStatusMmsErrorConfigurationError = consts.DownloadStatusMmsErrorConfigurationError DownloadStatusMmsErrorDataDisabled = consts.DownloadStatusMmsErrorDataDisabled DownloadStatusMmsErrorHttpFailure = consts.DownloadStatusMmsErrorHttpFailure DownloadStatusMmsErrorInactiveSubscription = consts.DownloadStatusMmsErrorInactiveSubscription DownloadStatusMmsErrorInvalidApn = consts.DownloadStatusMmsErrorInvalidApn DownloadStatusMmsErrorInvalidSubscriptionId = consts.DownloadStatusMmsErrorInvalidSubscriptionId DownloadStatusMmsErrorIoError = consts.DownloadStatusMmsErrorIoError DownloadStatusMmsErrorMmsDisabledByCarrier = consts.DownloadStatusMmsErrorMmsDisabledByCarrier DownloadStatusMmsErrorNoDataNetwork = consts.DownloadStatusMmsErrorNoDataNetwork DownloadStatusMmsErrorRetry = consts.DownloadStatusMmsErrorRetry DownloadStatusMmsErrorUnableConnectMms = consts.DownloadStatusMmsErrorUnableConnectMms DownloadStatusMmsErrorUnspecified = consts.DownloadStatusMmsErrorUnspecified DownloadStatusOk = consts.DownloadStatusOk DownloadStatusRetryOnCarrierNetwork = consts.DownloadStatusRetryOnCarrierNetwork ReceiveOptionsDefault = consts.ReceiveOptionsDefault ReceiveOptionsDrop = consts.ReceiveOptionsDrop SendFlagRequestDeliveryStatus = consts.SendFlagRequestDeliveryStatus SendStatusError = consts.SendStatusError SendStatusMmsErrorConfigurationError = consts.SendStatusMmsErrorConfigurationError SendStatusMmsErrorDataDisabled = consts.SendStatusMmsErrorDataDisabled SendStatusMmsErrorHttpFailure = consts.SendStatusMmsErrorHttpFailure SendStatusMmsErrorInactiveSubscription = consts.SendStatusMmsErrorInactiveSubscription SendStatusMmsErrorInvalidApn = consts.SendStatusMmsErrorInvalidApn SendStatusMmsErrorInvalidSubscriptionId = consts.SendStatusMmsErrorInvalidSubscriptionId SendStatusMmsErrorIoError = consts.SendStatusMmsErrorIoError SendStatusMmsErrorMmsDisabledByCarrier = consts.SendStatusMmsErrorMmsDisabledByCarrier SendStatusMmsErrorNoDataNetwork = consts.SendStatusMmsErrorNoDataNetwork SendStatusMmsErrorRetry = consts.SendStatusMmsErrorRetry SendStatusMmsErrorUnableConnectMms = consts.SendStatusMmsErrorUnableConnectMms SendStatusMmsErrorUnspecified = consts.SendStatusMmsErrorUnspecified SendStatusOk = consts.SendStatusOk SendStatusResultCancelled = consts.SendStatusResultCancelled SendStatusResultEncodingError = consts.SendStatusResultEncodingError SendStatusResultErrorFdnCheckFailure = consts.SendStatusResultErrorFdnCheckFailure SendStatusResultErrorGenericFailure = consts.SendStatusResultErrorGenericFailure SendStatusResultErrorLimitExceeded = consts.SendStatusResultErrorLimitExceeded SendStatusResultErrorNoService = consts.SendStatusResultErrorNoService SendStatusResultErrorNullPdu = consts.SendStatusResultErrorNullPdu SendStatusResultErrorShortCodeNeverAllowed = consts.SendStatusResultErrorShortCodeNeverAllowed SendStatusResultErrorShortCodeNotAllowed = consts.SendStatusResultErrorShortCodeNotAllowed SendStatusResultInvalidArguments = consts.SendStatusResultInvalidArguments SendStatusResultInvalidSmscAddress = consts.SendStatusResultInvalidSmscAddress SendStatusResultInvalidSmsFormat = consts.SendStatusResultInvalidSmsFormat SendStatusResultInvalidState = consts.SendStatusResultInvalidState SendStatusResultNetworkError = consts.SendStatusResultNetworkError SendStatusResultNetworkReject = consts.SendStatusResultNetworkReject SendStatusResultOperationNotAllowed = consts.SendStatusResultOperationNotAllowed SendStatusResultRequestNotSupported = consts.SendStatusResultRequestNotSupported SendStatusResultSmsBlockedDuringEmergency = consts.SendStatusResultSmsBlockedDuringEmergency SendStatusResultSmsSendRetryFailed = consts.SendStatusResultSmsSendRetryFailed SendStatusRetryOnCarrierNetwork = consts.SendStatusRetryOnCarrierNetwork )
const ( ServiceInterface = consts.ServiceInterface CarrierServiceInterface = consts.CarrierServiceInterface )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Identifier ¶
Identifier wraps android.service.carrier.CarrierIdentifier.
func NewIdentifier ¶
NewIdentifier creates a new android.service.carrier.CarrierIdentifier instance.
func (*Identifier) DescribeContents ¶
func (m *Identifier) DescribeContents() (int32, error)
DescribeContents calls android.service.carrier.CarrierIdentifier.describeContents.
func (*Identifier) Equals ¶
func (m *Identifier) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.service.carrier.CarrierIdentifier.equals.
func (*Identifier) GetCarrierId ¶
func (m *Identifier) GetCarrierId() (int32, error)
GetCarrierId calls android.service.carrier.CarrierIdentifier.getCarrierId.
func (*Identifier) GetGid1 ¶
func (m *Identifier) GetGid1() (string, error)
GetGid1 calls android.service.carrier.CarrierIdentifier.getGid1.
func (*Identifier) GetGid2 ¶
func (m *Identifier) GetGid2() (string, error)
GetGid2 calls android.service.carrier.CarrierIdentifier.getGid2.
func (*Identifier) GetImsi ¶
func (m *Identifier) GetImsi() (string, error)
GetImsi calls android.service.carrier.CarrierIdentifier.getImsi.
func (*Identifier) GetMcc ¶
func (m *Identifier) GetMcc() (string, error)
GetMcc calls android.service.carrier.CarrierIdentifier.getMcc.
func (*Identifier) GetMnc ¶
func (m *Identifier) GetMnc() (string, error)
GetMnc calls android.service.carrier.CarrierIdentifier.getMnc.
func (*Identifier) GetSpecificCarrierId ¶
func (m *Identifier) GetSpecificCarrierId() (int32, error)
GetSpecificCarrierId calls android.service.carrier.CarrierIdentifier.getSpecificCarrierId.
func (*Identifier) GetSpn ¶
func (m *Identifier) GetSpn() (string, error)
GetSpn calls android.service.carrier.CarrierIdentifier.getSpn.
func (*Identifier) HashCode ¶
func (m *Identifier) HashCode() (int32, error)
HashCode calls android.service.carrier.CarrierIdentifier.hashCode.
func (*Identifier) ToString ¶
func (m *Identifier) ToString() (string, error)
ToString calls android.service.carrier.CarrierIdentifier.toString.
func (*Identifier) WriteToParcel ¶
func (m *Identifier) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.service.carrier.CarrierIdentifier.writeToParcel.
type MessagePdu ¶
MessagePdu wraps android.service.carrier.MessagePdu.
func NewMessagePdu ¶
NewMessagePdu creates a new android.service.carrier.MessagePdu instance.
func (*MessagePdu) DescribeContents ¶
func (m *MessagePdu) DescribeContents() (int32, error)
DescribeContents calls android.service.carrier.MessagePdu.describeContents.
func (*MessagePdu) WriteToParcel ¶
func (m *MessagePdu) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.service.carrier.MessagePdu.writeToParcel.
type MessagingClientService ¶
MessagingClientService wraps android.service.carrier.CarrierMessagingClientService.
func NewMessagingClientService ¶
func NewMessagingClientService(vm *jni.VM) (*MessagingClientService, error)
NewMessagingClientService creates a new android.service.carrier.CarrierMessagingClientService instance.
type MessagingService ¶
MessagingService wraps android.service.carrier.CarrierMessagingService.
type MessagingServiceSendMmsResult ¶
MessagingServiceSendMmsResult wraps android.service.carrier.CarrierMessagingService$SendMmsResult.
func (*MessagingServiceSendMmsResult) GetSendConfPdu ¶
func (m *MessagingServiceSendMmsResult) GetSendConfPdu() (*jni.Object, error)
GetSendConfPdu calls android.service.carrier.CarrierMessagingService$SendMmsResult.getSendConfPdu.
func (*MessagingServiceSendMmsResult) GetSendStatus ¶
func (m *MessagingServiceSendMmsResult) GetSendStatus() (int32, error)
GetSendStatus calls android.service.carrier.CarrierMessagingService$SendMmsResult.getSendStatus.
type MessagingServiceSendMultipartSmsResult ¶
MessagingServiceSendMultipartSmsResult wraps android.service.carrier.CarrierMessagingService$SendMultipartSmsResult.
func (*MessagingServiceSendMultipartSmsResult) GetMessageRefs ¶
func (m *MessagingServiceSendMultipartSmsResult) GetMessageRefs() (*jni.Object, error)
GetMessageRefs calls android.service.carrier.CarrierMessagingService$SendMultipartSmsResult.getMessageRefs.
func (*MessagingServiceSendMultipartSmsResult) GetSendStatus ¶
func (m *MessagingServiceSendMultipartSmsResult) GetSendStatus() (int32, error)
GetSendStatus calls android.service.carrier.CarrierMessagingService$SendMultipartSmsResult.getSendStatus.
type MessagingServiceSendSmsResult ¶
MessagingServiceSendSmsResult wraps android.service.carrier.CarrierMessagingService$SendSmsResult.
func (*MessagingServiceSendSmsResult) GetMessageRef ¶
func (m *MessagingServiceSendSmsResult) GetMessageRef() (int32, error)
GetMessageRef calls android.service.carrier.CarrierMessagingService$SendSmsResult.getMessageRef.
func (*MessagingServiceSendSmsResult) GetSendStatus ¶
func (m *MessagingServiceSendSmsResult) GetSendStatus() (int32, error)
GetSendStatus calls android.service.carrier.CarrierMessagingService$SendSmsResult.getSendStatus.
type Service ¶
Service wraps android.service.carrier.CarrierService.
func (*Service) NotifyCarrierNetworkChange1 ¶
NotifyCarrierNetworkChange1 calls android.service.carrier.CarrierService.notifyCarrierNetworkChange.
func (*Service) NotifyCarrierNetworkChange2_1 ¶
NotifyCarrierNetworkChange2_1 calls android.service.carrier.CarrierService.notifyCarrierNetworkChange.
func (*Service) OnLoadConfig1 ¶
OnLoadConfig1 calls android.service.carrier.CarrierService.onLoadConfig.