MediaObject
public class MediaObject : Item
A media object, such as an image, video, or audio object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject’s).
-
The bitrate of a media object.
Declaration
Swift
let bitrate: RealmOptional<Int> -
The duration of an Item, for instance an event or an Audio file.
Declaration
Swift
let duration: RealmOptional<Int> -
The endTime of something. For a reserved event or service, the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. For media, including audio and video, it’s the time offset of the end of a clip within a larger file.
Declaration
Swift
@objc dynamic var endTime: Date? -
Location of the actual bytes of a File.
Declaration
Swift
@objc dynamic var fileLocation: String? -
The startTime of something. For a reserved event or service, the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. For media, including audio and video, it’s the time offset of the start of a clip within a larger file.
Declaration
Swift
@objc dynamic var startTime: Date? -
Any type of file that can be stored on disk.
Declaration
Swift
var file: File? { get } -
Items included within this Item. Included Items can be of any type.
Declaration
Swift
var includes: [Item]? { get } -
Undocumented
Declaration
Swift
public required convenience init(from decoder: Decoder) throws
MediaObject Class Reference