Contents

init(data:contentType:contentID:disposition:fileName:)

Creates an MMS part with the provided values.

Declaration

init(data: Data, contentType: UTType?, contentID: String, disposition: MMSPartContent.MMSDispositionType, fileName: String)

Parameters

  • data:

    The raw data of the MMS part.

  • contentType:

    The content type of the MMS part, as a Uttype Swift.struct.

  • contentID:

    The identifier of the MMS part.

  • disposition:

    The disposition of the MMS part, indicating whether the part renders inline or as an attachment.

  • fileName:

    The file name of the MMS part.