One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

RCSService.FileUploadRequest

struct · iOS 26.0+ · SDK 27.1

struct FileUploadRequest

A structure that represents an RCS file upload request.

Members (13)

get · iOS 26.5+

isEndToEndEncrypted

TypeScript
get isEndToEndEncrypted(): boolean
Swift declaration
var isEndToEndEncrypted: Bool

A Boolean value indicating whether this request should be end-to-end encrypted. If the service does not support end-to-end encryption, the operation will throw ``RCSService/Error/endToEndEncryptionNotSupported``.

set · iOS 26.5+

isEndToEndEncrypted

TypeScript
set isEndToEndEncrypted(value: boolean)
Swift declaration
var isEndToEndEncrypted: Bool

A Boolean value indicating whether this request should be end-to-end encrypted. If the service does not support end-to-end encryption, the operation will throw ``RCSService/Error/endToEndEncryptionNotSupported``.

get · iOS 26.0+

contentType

TypeScript
get contentType(): (_UniformTypeIdentifiers_UTType) | null
Swift declaration
var contentType: UTType?

The content type of the file. If you don't set this property, the framework infers a content type from the URL.

set · iOS 26.0+

contentType

TypeScript
set contentType(value: (_UniformTypeIdentifiers_UTType) | null)
Swift declaration
var contentType: UTType?

The content type of the file. If you don't set this property, the framework infers a content type from the URL.

get · iOS 26.0+

thumbnailURL

TypeScript
get thumbnailURL(): (string) | null
Swift declaration
var thumbnailURL: URL?

An optional file URL for a thumbnail image. The RCS specification limits the thumbnail size to 10KB.

set · iOS 26.0+

thumbnailURL

TypeScript
set thumbnailURL(value: (string) | null)
Swift declaration
var thumbnailURL: URL?

An optional file URL for a thumbnail image. The RCS specification limits the thumbnail size to 10KB.

init · iOS 26.0+

init

TypeScript
static init(cellularServiceID: CellularServiceID, fileURL: string, contentType?: (_UniformTypeIdentifiers_UTType) | null, thumbnailURL?: (string) | null, thumbnailContentType?: (_UniformTypeIdentifiers_UTType) | null): RCSService_FileUploadRequest
Swift declaration
init(cellularServiceID: CellularServiceID, fileURL: URL, contentType: UTType? = nil, thumbnailURL: URL? = nil, thumbnailContentType: UTType? = nil)

Creates a new file upload request with the given parameters. - 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.

get · iOS 26.0+

cellularServiceID

TypeScript
get cellularServiceID(): CellularServiceID
Swift declaration
var cellularServiceID: CellularServiceID

The service identifier associated with this request.

set · iOS 26.0+

cellularServiceID

TypeScript
set cellularServiceID(value: CellularServiceID)
Swift declaration
var cellularServiceID: CellularServiceID

The service identifier associated with this request.

get · iOS 26.0+

thumbnailContentType

TypeScript
get thumbnailContentType(): (_UniformTypeIdentifiers_UTType) | null
Swift declaration
var thumbnailContentType: UTType?

The content type of the thumbnail. If you don't set this property, the framework infers a content type from the URL.

set · iOS 26.0+

thumbnailContentType

TypeScript
set thumbnailContentType(value: (_UniformTypeIdentifiers_UTType) | null)
Swift declaration
var thumbnailContentType: UTType?

The content type of the thumbnail. If you don't set this property, the framework infers a content type from the URL.

get · iOS 26.0+

fileURL

TypeScript
get fileURL(): string
Swift declaration
var fileURL: URL

The URL of the file to upload.

set · iOS 26.0+

fileURL

TypeScript
set fileURL(value: string)
Swift declaration
var fileURL: URL

The URL of the file to upload.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →