Photo

public class Photo : Item

An image file.

  • 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?
  • The caption for this object. For downloadable machine formats (closed caption, subtitles etc.) use MediaObject and indicate the encodingFormat.

    Declaration

    Swift

    @objc
    dynamic var caption: String?
  • Exif data of an image file.

    Declaration

    Swift

    @objc
    dynamic var exifData: String?
  • The name of the item.

    Declaration

    Swift

    @objc
    dynamic var name: String?
  • 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 }
  • Thumbnail image for an Item, typically an image or video.

    Declaration

    Swift

    var thumbnail: File? { get }
  • Undocumented

    Declaration

    Swift

    public required convenience init(from decoder: Decoder) throws
  • Declaration

    Swift

    override var computedTitle: String { get }