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.
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.