You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import SessionProtocolKit
|
|
|
|
|
|
|
|
public protocol SessionMessagingKitStorageProtocol : SessionStore, PreKeyStore, SignedPreKeyStore, IdentityKeyStore {
|
|
|
|
|
|
|
|
func with(_ work: (Any) -> Void)
|
|
|
|
func withAsync(_ work: (Any) -> Void, completion: () -> Void)
|
|
|
|
|
|
|
|
func getUserPublicKey() -> String?
|
|
|
|
func getOrGenerateRegistrationID(using transaction: Any) -> UInt32
|
|
|
|
func isClosedGroup(_ publicKey: String) -> Bool
|
|
|
|
func getClosedGroupPrivateKey(for publicKey: String) -> String?
|
|
|
|
func persist(_ job: Job, using transaction: Any)
|
|
|
|
func markJobAsSucceeded(_ job: Job, using transaction: Any)
|
|
|
|
func markJobAsFailed(_ job: Job, using transaction: Any)
|
|
|
|
func getSenderCertificate(for publicKey: String) -> SMKSenderCertificate
|
|
|
|
}
|