InboxAudienceType

@objc(SFMCSdkInboxAudienceType)
public final class InboxAudienceType : NSObject

Known audienceType values the server sends today.

audienceType is a raw string, passed through verbatim. It is not limited to these constants — keep an else for unknown values. Missing or empty defaults to device.

  • Device-level messages. Also the default when the server omits audience.

    Declaration

    Swift

    @objc
    public static let device: String
  • User-level messages.

    Declaration

    Swift

    @objc
    public static let user: String