One Logo Pool Ball
TelephonyMessagingKit · IOS API REFERENCE

RCSMessage.FileTransfer

struct · iOS 26.0+ · SDK 27.1

struct FileTransfer

A structure that represents file transfer content in an RCS message. When sending a file to a recipient, you use the ``RCSService`` to call ``RCSService/upload(_:)`` and use the metadata returned by that method to create a message of this type. When receiving a file, you handle messages of this type in the ``RCSService/incomingMessageNotifications`` asynchronous sequence, and use the received message to create a ``RCSService/FileDownloadRequest`` for use with ``RCSService/download(_:)``.

Members (7)

get · iOS 26.5+

isEndToEndEncrypted

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

A Boolean value indicating whether this message is end-to-end encrypted. For outgoing messages, this indicates whether to end-to-end encrypt the message before sending out. If the service does not support end-to-end encryption, the operation will throw ``RCSService/Error/endToEndEncryptionNotSupported``. For incoming messages, this indicates whether the message was end-to-end encrypted.

set · iOS 26.5+

isEndToEndEncrypted

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

A Boolean value indicating whether this message is end-to-end encrypted. For outgoing messages, this indicates whether to end-to-end encrypt the message before sending out. If the service does not support end-to-end encryption, the operation will throw ``RCSService/Error/endToEndEncryptionNotSupported``. For incoming messages, this indicates whether the message was end-to-end encrypted.

init · iOS 26.0+

init

TypeScript
static init(fileMetadata: RCSFileTransferMetadata, thumbnailMetadata?: (RCSFileTransferMetadata) | null): RCSMessage_FileTransfer
Swift declaration
init(fileMetadata: RCSFileTransferMetadata, thumbnailMetadata: RCSFileTransferMetadata? = nil)

Creates a file transfer content instance with the given metadata. - Parameters: - fileMetadata: Metadata for the transferred file. - thumbnailMetadata: Metadata for the transferred thumbnail.

get · iOS 26.0+

fileMetadata

TypeScript
get fileMetadata(): RCSFileTransferMetadata
Swift declaration
var fileMetadata: RCSFileTransferMetadata

Metadata for the transferred file.

set · iOS 26.0+

fileMetadata

TypeScript
set fileMetadata(value: RCSFileTransferMetadata)
Swift declaration
var fileMetadata: RCSFileTransferMetadata

Metadata for the transferred file.

get · iOS 26.0+

thumbnailMetadata

TypeScript
get thumbnailMetadata(): (RCSFileTransferMetadata) | null
Swift declaration
var thumbnailMetadata: RCSFileTransferMetadata?

Metadata for the transferred thumbnail.

set · iOS 26.0+

thumbnailMetadata

TypeScript
set thumbnailMetadata(value: (RCSFileTransferMetadata) | null)
Swift declaration
var thumbnailMetadata: RCSFileTransferMetadata?

Metadata for the transferred thumbnail.

Skipped declarations

No declarations were skipped in this snapshot.

All TelephonyMessagingKit types →