InboxMediaType

@objc(SFMCSdkInboxMediaType)
public final class InboxMediaType : NSObject

Known type values the server sends today.

type is a raw string, passed through verbatim. It is not limited to these constants — keep an else for unknown values. Missing or empty authored value is nil.

  • Still image.

    Declaration

    Swift

    @objc
    public static let image: String
  • gif

    Animated GIF.

    Declaration

    Swift

    @objc
    public static let gif: String
  • Video.

    Declaration

    Swift

    @objc
    public static let video: String
  • Audio.

    Declaration

    Swift

    @objc
    public static let audio: String
  • Server could not classify the media.

    Declaration

    Swift

    @objc
    public static let other: String