---
schema_version: "1"
id: 9da113f355afe251bcecde3def1fab71a9ea97b9d1d03766c161d99855394345
title: MediaProviders
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud-mobilepush/engagement_sdk/references/ios-sdk-v11/extension-sdk/enums/mediaproviders.md
canonical_url: https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/mediaproviders.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ac7258038f5815b7b5c98f8527391888733529b40a752f2f207bd404be297020
products:
  - Salesforce Engagement SDK
---
# MediaProviders

`Enumeration`

Enum for enabling specific media providers in rich push notifications.

Raw values are powers of two so callers can combine them into a bitmask with `|` (e.g. `MediaProviders.sfmc.rawValue | MediaProviders.someOther.rawValue` ). The special `.none` case (raw value `0` ) is the “opt-out” sentinel and is not a bit itself.

## Declaration

```swift
@objc(SFMCMediaProviders)
public enum MediaProviders : Int, CaseIterable

case none = 0

case sfmc = 1
```

## Cases

### `none`

Explicitly opt out of automatic media handling by the SDK. Use when the host app performs its own media download in `sfmcDidReceiveRequest` and does not want the SDK to run in parallel.

```swift
case none = 0
```

---

### `sfmc`

SFMC media provider — downloads media from SFMC push notifications.

```swift
case sfmc = 1
```

---
