import ContentsquareSDK

@objc(CSQInterfaceCSInApp)
public class CSQInterfaceCSInApp: 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 handle(url: URL) {
        CSQType.handle(url: url)
    }
}
