...
In `DRM/DRM.swift` the new brand and scheme for Adobe DRM (added code is bold):
Code Block | ||
---|---|---|
| ||
public struct DRM { public let brand: Brand public let scheme: Scheme /// The license will be filled when passed back to the DRM module. public var license: DRMLicense? public enum Brand: String { case lcp case adobe } public enum Scheme: String { case lcp = "http://readium.org/2014/01/lcp" case adobe = "http://ns.adobe.com/adept" } public init(brand: Brand) { self.brand = brand switch brand { case .lcp: scheme = .lcp case .adobe: scheme = .adobe } } } |
...