Classes
The following classes are available globally.
-
Central class for interacting for the Forsta Atlas server.
You’ll use this for Atlas authentication, user creation and manipulation, tag creation and manipulation, and tag-math evaluation to resolve message distributions.
It requires an object conforming to
See moreKVStorageProtocol
so it can maintain login sessions across invocations, etc.Declaration
Swift
public class AtlasClient
-
This is THE top-level helper class for using LibForstaSwift.
See moreDeclaration
Swift
public class ForstaClient
-
Read-receipt to indicate among our own devices what messages have been read by the user
See moreDeclaration
Swift
public class SyncReadReceipt : CustomStringConvertible
-
Signal server delivery receipt for a message being received by a recipient’s device
See moreDeclaration
Swift
public class DeliveryReceipt : CustomStringConvertible
-
Information about an attached file that has been encrypted and uploaded (use
See moreSignalClient
.uploadAttachment(...)
to get these)Declaration
Swift
public class AttachmentInfo : CustomStringConvertible
-
Manage receiving and decrypting Forsta messages destined for this device
See moreDeclaration
Swift
public class MessageReceiver
-
Manage sending messages
See moreDeclaration
Swift
public class MessageSender
-
Interface for the Signal server. The signal server handles the exchange of encrypted messages and the brokering of public keys.
See moreDeclaration
Swift
public class SignalClient
-
A generic class for using store-backed default-namespace typed values, cached locally for speed (so note this means that each instance assumes there is no other cache to keep it’s value coherent with).
See moreDeclaration
Swift
public class KVBacked<T> where T : ToFromData
-
A generic class for managing collections of delegates properly with weak references
See moreDeclaration
Swift
public class Delegates<T>
-
All errors thrown by
See moreLibForstaSwift
areForstaError
objects. (adapted from the LibSignalProtocolSwift error class)Declaration
Swift
public final class ForstaError : CustomStringConvertible, Error