VerizonMediaAssetInfoResponse

public struct VerizonMediaAssetInfoResponse : Decodable

Represents a Verizon Media Asset Info Response.

  • A flag indicating if the asset is audio only.

    Remark

    False if zero, true otherwise.

    Declaration

    Swift

    public var audioOnly: Int
  • List of objects which contain information about the boundaries of the asset.

    Declaration

    Swift

    public var boundaryDetails: [Boundary]?
  • Whether an error occurred.

    Remark

    False if zero, true otherwise.

    Declaration

    Swift

    public var error: Int
  • The tv-rating of the asset, represented by a value from VerizonMediaAssetTvRating.

    Declaration

    Swift

    public var tvRating: VerizonMediaAssetTvRating
  • The number of slices available for the asset.

    Declaration

    Swift

    public var maxSlice: Int
  • The prefix URL to the thumbnails.

    Declaration

    Swift

    public var thumbPrefix: String
  • The average slice duration, in seconds.

    Declaration

    Swift

    public var sliceDur: Double
  • The movie rating of the asset, represented by a value from VerizonMediaAssetMovieRating.

    Declaration

    Swift

    public var movieRating: VerizonMediaAssetMovieRating
  • The identifier of the owner.

    Declaration

    Swift

    public var owner: String
  • The metadata attached to the asset.

    Remark

    Metadata may be added via the CMS.

    Declaration

    Swift

    public var meta: [String : Any]
  • The available bitrates of the asset, in bits per second.

    Declaration

    Swift

    public var rates: [Int]
  • List of thumbnail resolutions of the asset.

    Declaration

    Swift

    public var thumbs: [ThumbnailResolution]
  • The poster URL of the asset.

    Declaration

    Swift

    public var posterUrl: String
  • The duration of the asset, in seconds.

    Declaration

    Swift

    public var duration: Double
  • The default poster URL created for the asset.

    Declaration

    Swift

    public var defaultPosterUrl: String
  • The description of the asset.

    Declaration

    Swift

    public var desc: String
  • The ratings for the asset, as bitwise flags.

    Remark

    These available flags are the following:
    • D: Drug-related themes are present.
    • V: Violence is present.
    • S: Sexual situations are present.
    • L: Adult Language is present.

    This number is a bitwise number to indicate if one or more of these values are present.

    • [D][V][S][L] - 0: No rating flag.
    • [D][V][S][L] - 1: Language flag.
    • [D][V][S][L] - 2: Sex flag.
    • [D][V][S][L] - 4: Violence flag.
    • [D][V][S][L] - 8: Drugs flag.
    • [D][V][S][L] - 15: All flags are on.

    Declaration

    Swift

    public var ratingFlags: Int
  • The identifier of the external source.

    Declaration

    Swift

    public var externalId: String
  • Whether the asset is an ad.

    Remark

    False if zero, true otherwise.

    Declaration

    Swift

    public var isAd: Int
  • The identifier of the asset.

    Declaration

    Swift

    public var asset: String