9 lines
389 B
Swift
9 lines
389 B
Swift
|
|
@objc(SNSessionRestorationProtocol)
|
|
public protocol SessionRestorationProtocol {
|
|
|
|
func validatePreKeyWhisperMessage(for publicKey: String, preKeyWhisperMessage: PreKeyWhisperMessage, using transaction: Any) throws
|
|
func getSessionRestorationStatus(for publicKey: String) -> SessionRestorationStatus
|
|
func handleNewSessionAdopted(for publicKey: String, using transaction: Any)
|
|
}
|