chore: lint project (#3395)
* chore: format swift code * chore: format clang code * chore: format kotlin code * refactor: rename folder "API" to "api"
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
struct DRMParams {
|
||||
let type: String?
|
||||
let licenseServer: String?
|
||||
let headers: Dictionary<String,Any>?
|
||||
let headers: [String: Any]?
|
||||
let contentId: String?
|
||||
let certificateUrl: String?
|
||||
let base64Certificate: Bool?
|
||||
|
||||
|
||||
let json: NSDictionary?
|
||||
|
||||
|
||||
init(_ json: NSDictionary!) {
|
||||
guard json != nil else {
|
||||
self.json = nil
|
||||
@@ -25,6 +25,6 @@ struct DRMParams {
|
||||
self.contentId = json["contentId"] as? String
|
||||
self.certificateUrl = json["certificateUrl"] as? String
|
||||
self.base64Certificate = json["base64Certificate"] as? Bool
|
||||
self.headers = json["headers"] as? Dictionary<String,Any>
|
||||
self.headers = json["headers"] as? [String: Any]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user