Send and manage messages over cellular service on iOS and macOS, working with MMS, RCS, and SMS through a shared model of messages, content parts, handles, and service state. You compose and transmit an MMSMessage, RCSMessage, or SMSMessage using the corresponding MMSService, RCSService, or SMSService, building payloads from content parts such as MMSContent, MMSPartContent, and SMSContent and addressing recipients with handles like MMSHandle, RCSHandle, and SMSHandle. A TelephonyMessagingSession coordinates this work, while CellularServiceID and CellularServiceState describe the cellular service the messages are sent over, and types such as MMSMessageID, RCSMessageID, RCSGroupContext, and RCSFileTransferMetadata identify and describe individual messages and their transfers.
Essentials 1
Coordinate the sending and management of cellular messages across MMS, RCS, and SMS.
- ClTelephonyMessagingSessionAn object that coordinates interaction with the TelephonyMessagingKit framework.
Messaging Services 3
Send and manage messages over the cellular network using protocol-specific services.
- ClMMSServiceA class that provides an interface for performing MMS operations.
- ClRCSServiceA class that provides an interface for performing RCS operations.
- ClSMSServiceA class that provides an interface for performing SMS operations.
Messages 3
Model the messages you compose and transmit for each supported messaging protocol.
- StMMSMessageA structure that contains the data of an MMS message.
- StRCSMessageA structure that contains an RCS message's content and metadata.
- StSMSMessageA structure that contains the data of an SMS message.
Message Content 3
Build the payload and content parts that make up a message body.
- StMMSContentA structure that holds the content of an MMS message.
- StMMSPartContentA structure that defines custom headers within MMS content.
- StSMSContentA structure that holds the content of an SMS message.
Recipients and Handles 3
Address messages to recipients across MMS, RCS, and SMS conversations.
- StMMSHandleA structure that represents an MMS address.
- EnRCSHandleAn enumeration that represents an RCS destination or sender.
- StSMSHandleA structure that represents an SMS address.
Message Identifiers 3
Uniquely identify individual messages within each messaging protocol.
- StMMSMessageIDA structure that represents an MMS message identifier.
- StRCSMessageIDA structure that represents an RCS message identifier.
- StSMSMessageIDA structure that represents an SMS message identifier.
RCS Metadata 2
Describe group conversations and file transfers specific to RCS messaging.
- StRCSGroupContextStructure containing information about a message's group.
- StRCSFileTransferMetadataA structure that contains metadata about an RCS file transfer.
Cellular Service 2
Identify and describe the cellular service that carries the messages.
- StCellularServiceIDAn opaque identifier that represents the cellular service for which to provide operations.
- StCellularServiceStateA structure that contains information about a cellular service.