<!--
{
  "availability" : [
    "iOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/TelephonyMessagingSession",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit0aB7SessionC"
  },
  "title" : "TelephonyMessagingSession"
}
-->

# TelephonyMessagingSession

An object that coordinates interaction with the TelephonyMessagingKit framework.

```
final class TelephonyMessagingSession
```

## Overview

Use the [`shared`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/shared) instance provided by this class to access SMS, MMS, and RCS messaging services.
You can inspect available services with the [`cellularServices`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/cellularServices) property.
As service availability changes, the framework publishes changes through the [`cellularServiceStateUpdates`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/cellularServiceStateUpdates) asynchronous sequence.

## Topics

### Obtaining the shared instance

[`static let shared: TelephonyMessagingSession`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/shared)

The shared session instance.

### Determining service availability

[`var cellularServices: [CellularServiceState]`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/cellularServices)

An array of cellular services available on the system.

[`var cellularServiceStateUpdates: some AsyncSequence<CellularServiceState, Never>`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/cellularServiceStateUpdates)

An asynchronous sequence of cellular service state updates produced by this session.

[`struct CellularServiceState`](/documentation/TelephonyMessagingKit/CellularServiceState)

A structure that contains information about a cellular service.

### Using Short Message Service (SMS)

[`var smsService: SMSService`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/smsService)

The Short Message Service (SMS) service associated with this session.

[`class SMSService`](/documentation/TelephonyMessagingKit/SMSService)

A class that provides an interface for performing SMS operations.

### Using Multimedia Messaging Service (MMS)

[`var mmsService: MMSService`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/mmsService)

MMS service associated with this session.

[`class MMSService`](/documentation/TelephonyMessagingKit/MMSService)

A class that provides an interface for performing MMS operations.

### Using Rich Communication Services (RCS)

[`var rcsService: RCSService`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/rcsService)

RCS service associated with this session.

[`class RCSService`](/documentation/TelephonyMessagingKit/RCSService)

A class that provides an interface for performing RCS operations.

### Accessing session properties

[`let id: UUID`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/id)

Identifier for this session.

### Handling errors

[`enum Error`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/Error)

An enumeration of errors that can result from operations on a messaging session.

### Supporting types

### Instance Properties

[`var isConfiguredForCarrierMessaging: Bool`](/documentation/TelephonyMessagingKit/TelephonyMessagingSession/isConfiguredForCarrierMessaging)

A Boolean value that indicates whether this app is configured to perform carrier messaging operations.

## Relationships

### Conforms To

[`Identifiable`](/documentation/Swift/Identifiable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)