mirror of
https://github.com/tappollo/WWDC.git
synced 2026-04-29 12:25:12 +08:00
Created live session asset adapter and test
This commit is contained in:
@@ -15,6 +15,7 @@ enum SessionAssetType: String {
|
||||
case image = "WWDCSessionAssetTypeShelfImage"
|
||||
case slides = "WWDCSessionAssetTypeSlidesPDF"
|
||||
case streamingVideo = "WWDCSessionAssetTypeStreamingVideo"
|
||||
case liveStreamVideo = "WWDCSessionAssetTypeLiveStreamVideo"
|
||||
case webpage = "WWDCSessionAssetTypeWebpageURL"
|
||||
}
|
||||
|
||||
@@ -31,6 +32,12 @@ class SessionAsset: Object {
|
||||
/// - WWDCSessionAssetTypeWebpageURL
|
||||
dynamic var assetType = ""
|
||||
|
||||
/// The year of the session this asset belongs to
|
||||
dynamic var year = 0
|
||||
|
||||
/// The id of the session this asset belongs to
|
||||
dynamic var sessionId = ""
|
||||
|
||||
/// URL for this asset
|
||||
dynamic var remoteURL = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user