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
@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.
case none = 0
sfmc
SFMC media provider — downloads media from SFMC push notifications.
case sfmc = 1