SessionStorage

@objc
public class SessionStorage : NSObject, ZappStorageProtocol

Undocumented

  • Undocumented

    Declaration

    Swift

    public static let sharedInstance: SessionStorage
  • Dictionary that used as Zapp Session Storage

    Declaration

    Swift

    public private(set) var storage: [String : Any]
  • Undocumented

    Declaration

    Swift

    public override init()

ZappStorageProtocol

  • Declaration

    Swift

    @discardableResult
    public func set(key: String, value: String, namespace: String?) -> Bool
  • Declaration

    Swift

    public func get(key: String, namespace: String?) -> String?
  • Declaration

    Swift

    public func getAll(namespace: String?) -> String?