# android.service.carrier

Added in[API level 22](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# android.service.carrier

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/service/carrier/package-summary "View this page in Kotlin")\|Java

## Interfaces

|-------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|
| [CarrierMessagingService.ResultCallback](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService.ResultCallback)\<T\> | A callback interface used to provide results asynchronously. |

## Classes

|------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [CarrierIdentifier](https://developer.android.com/reference/android/service/carrier/CarrierIdentifier)                                                           | Used to pass info to CarrierConfigService implementations so they can decide what values to return.                                                                                                         |
| [CarrierMessagingClientService](https://developer.android.com/reference/android/service/carrier/CarrierMessagingClientService)                                   | If the default SMS app has a service that extends this class, the system always tries to bind it so that the process is always running, which allows the app to have a persistent connection to the server. |
| [CarrierMessagingService](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService)                                               | A service that receives calls from the system when new SMS and MMS are sent or received.                                                                                                                    |
| [CarrierMessagingService.SendMmsResult](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService.SendMmsResult)                   | The result of sending an MMS.                                                                                                                                                                               |
| [CarrierMessagingService.SendMultipartSmsResult](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService.SendMultipartSmsResult) | The result of sending a multipart SMS.                                                                                                                                                                      |
| [CarrierMessagingService.SendSmsResult](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService.SendSmsResult)                   | The result of sending an SMS.                                                                                                                                                                               |
| [CarrierService](https://developer.android.com/reference/android/service/carrier/CarrierService)                                                                 | A service that exposes carrier-specific functionality to the system.                                                                                                                                        |
| [MessagePdu](https://developer.android.com/reference/android/service/carrier/MessagePdu)                                                                         | A parcelable list of PDUs representing contents of a possibly multi-part SMS.                                                                                                                               |

-

  ## Interfaces

  - [CarrierMessagingService.ResultCallback](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService.ResultCallback)
-

  ## Classes

  - [CarrierIdentifier](https://developer.android.com/reference/android/service/carrier/CarrierIdentifier)
  - [CarrierMessagingClientService](https://developer.android.com/reference/android/service/carrier/CarrierMessagingClientService)
  - [CarrierMessagingService](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService)
  - [CarrierMessagingService.SendMmsResult](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService.SendMmsResult)
  - [CarrierMessagingService.SendMultipartSmsResult](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService.SendMultipartSmsResult)
  - [CarrierMessagingService.SendSmsResult](https://developer.android.com/reference/android/service/carrier/CarrierMessagingService.SendSmsResult)
  - [CarrierService](https://developer.android.com/reference/android/service/carrier/CarrierService)
  - [MessagePdu](https://developer.android.com/reference/android/service/carrier/MessagePdu)