import ContentsquareSDK

@objc(CSQInterfacePrivacy)
public class CSQInterfacePrivacy: NSObject {
    let CSQType: _CSQ.Type

    @objc
    public convenience override init() {
        self.init(CSQ.self)
    }

    init(_ CSQType: _CSQ.Type) {
        self.CSQType = CSQType
        super.init()
    }
    
    @objc
    public func optIn() {
        CSQType.optIn()
    }

    @objc
    public func optOut() {
        CSQType.optOut()
    }
    
    @objc
    public func identify(_ identity: String) {
        CSQType.identify(identity)
    }

    @objc
    public func resetIdentity() {
        CSQType.resetIdentity() 
    }
    
    @objc 
    public func sendUserIdentifier(_ identifier: String) {
        CSQType.sendUserIdentifier(identifier)
    }
}

