//
//  AppDelegate.swift
//  DRMTodayOfflineDemo
//
//

import CastlabsApple
import CastlabsDownloader
import PRESTOplay
import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(
        _: UIApplication,
        didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?
    )
        -> Bool
    {
        // Override point for customization after application launch.
        // swiftlint: disable line_length
        _ = PRESTOplaySDK.shared.setup(
            "LICENSE",
            [
                HLSPlugin(),
                DownloaderPlugin()
            ])
        // swiftlint: enable line_length
        return true
    }
}
