---
title: "configuration(for:)"
framework: TelephonyMessagingKit
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+]
path: "telephonymessagingkit/mmsservice/configuration(for:)"
---

# configuration(for:)

Retrieves the MMS configuration for the carrier.

## Declaration

```swift
final func configuration(for cellularServiceID: CellularServiceID) async throws -> MMSService.Configuration
```

## Parameters

- `cellularServiceID`: The cellular service identifier for which to fetch the MMS configuration.

## Return Value

Return Value An MMSService.Configuration instance that describes the MMS configuration.

## Discussion

Discussion Fetch the MMS configuration when your app launches and during susbscription change events. note: TelephonyMessagingSession.Error.invalidSession if the session isn’t valid.

## See Also

### Managing MMS configuration

- [MMSService.Configuration](telephonymessagingkit/mmsservice/configuration.md)
