Reference for the Swift client SDK
View the reference
Access the Swift client SDK reference documentation on Swift Package Index.
The reference documentation covers the following classes, protocols, structures, variables, type aliases, and enumerations provided by the SDK.
Classes
- Client
 - Conversations
 - Notifications_V1_NotificationsClient
 
Protocols
- ContentCodec
 - Notifications_V1_NotificationsClientInterface
 - SigningKey
 
Structures
- Attachment
 - AttachmentCodec
 - ClientOptions
 - Contacts
 - ConversationV1
 - ConversationV1Container
 - ConversationV2
 - ConversationV2Container
 - DecodedComposite
 - DecodedMessage
 - EncryptedEncodedContent
 - Notifications_V1_DeleteInstallationRequest
 - Notifications_V1_DeliveryMechanism
 - Notifications_V1_RegisterInstallationRequest
 - Notifications_V1_RegisterInstallationResponse
 - Notifications_V1_SubscribeRequest
 - Notifications_V1_UnsubscribeRequest
 - PreparedMessage
 - RemoteAttachment
 - RemoteAttachmentCodec
 - SendOptions
 - TextCodec
 - XMTPPush
 
Variables
- let ContentTypeAttachment: ContentTypeID
 - let ContentTypeRemoteAttachment: ContentTypeID
 - let ContentTypeText: ContentTypeID
 
Type aliases
- CipherText
 - ContentTypeID
 - EncodedContent
 - Envelope
 - InvitationV1
 - Message
 - PrivateKey
 - PrivateKeyBundle
 - PrivateKeyBundleV1
 - PrivateKeyBundleV2
 - SealedInvitationHeaderV1
 - Signature
 - SignedPrivateKey
 
Enumerations
- AttachmentCodecError
 - Conversation
 - ConversationContainer
 - ConversationError
 - EncodedContentCompression
 - MessageVersion
 - RemoteAttachmentError
 - XMTPEnvironment