Contents

init(cellularServiceID:fileURL:contentType:thumbnailURL:thumbnailContentType:)

Creates a new file upload request with the given parameters.

Declaration

init(cellularServiceID: CellularServiceID, fileURL: URL, contentType: UTType? = nil, thumbnailURL: URL? = nil, thumbnailContentType: UTType? = nil)

Parameters

  • cellularServiceID:

    The service identifier associated with this request.

  • fileURL:

    The URL of the file to upload.

  • contentType:

    The content type of the file.

  • thumbnailURL:

    An optional file URL for a thumbnail image.

  • thumbnailContentType:

    The content type of the thumbnail.