TechnologiesCommunication, Contacts & Messaging

TelephonyMessagingKit

iOSmacOStvOSwatchOSvisionOS

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.

  • Cl
    TelephonyMessagingSession
    An object that coordinates interaction with the TelephonyMessagingKit framework.

Messaging Services 3

Send and manage messages over the cellular network using protocol-specific services.

  • Cl
    MMSService
    A class that provides an interface for performing MMS operations.
  • Cl
    RCSService
    A class that provides an interface for performing RCS operations.
  • Cl
    SMSService
    A class that provides an interface for performing SMS operations.

Messages 3

Model the messages you compose and transmit for each supported messaging protocol.

  • St
    MMSMessage
    A structure that contains the data of an MMS message.
  • St
    RCSMessage
    A structure that contains an RCS message's content and metadata.
  • St
    SMSMessage
    A structure that contains the data of an SMS message.

Message Content 3

Build the payload and content parts that make up a message body.

  • St
    MMSContent
    A structure that holds the content of an MMS message.
  • St
    MMSPartContent
    A structure that defines custom headers within MMS content.
  • St
    SMSContent
    A structure that holds the content of an SMS message.

Recipients and Handles 3

Address messages to recipients across MMS, RCS, and SMS conversations.

  • St
    MMSHandle
    A structure that represents an MMS address.
  • En
    RCSHandle
    An enumeration that represents an RCS destination or sender.
  • St
    SMSHandle
    A structure that represents an SMS address.

Message Identifiers 3

Uniquely identify individual messages within each messaging protocol.

  • St
    MMSMessageID
    A structure that represents an MMS message identifier.
  • St
    RCSMessageID
    A structure that represents an RCS message identifier.
  • St
    SMSMessageID
    A structure that represents an SMS message identifier.

RCS Metadata 2

Describe group conversations and file transfers specific to RCS messaging.

  • St
    RCSGroupContext
    Structure containing information about a message's group.
  • St
    RCSFileTransferMetadata
    A structure that contains metadata about an RCS file transfer.

Cellular Service 2

Identify and describe the cellular service that carries the messages.

  • St
    CellularServiceID
    An opaque identifier that represents the cellular service for which to provide operations.
  • St
    CellularServiceState
    A structure that contains information about a cellular service.
← Communication, Contacts & Messaging