enum ParameterEnum
Content data elements that may be searched on.
-
An actor credited in video media content.
Declaration
Swift
case actor
-
The identifying data for a television channel, for example, ‘PBS’.
Declaration
Swift
case channel
-
A character represented in video media content.
Declaration
Swift
case character
-
A director of the video media content.
Declaration
Swift
case director
-
An event is a reference to a type of event. Examples include sports, music, or other types of events. For example, searching for ‘Football games’ would search for a ‘game’ event entity and a ‘football’ sport entity.
Declaration
Swift
case event
-
A video entity which can represent a number of video entities, like movies or TV shows. For example, the fictional franchise ‘Intergalactic Wars’, which represents a collection of movie trilogies, as well as animated and live action TV shows. This entity can account for requests such as ‘Find Intergalactic Wars movies’, which would search for all ‘Intergalactic Wars’ programs of the
Movie
MediaType, rather than attempting to match to a single title.Declaration
Swift
case franchise
-
The genre of video media content such as action, drama or comedy.
Declaration
Swift
case genre
-
The categorical information for a sporting league.
Declaration
Swift
case league
-
Indicates whether the user is requesting popular content.
Declaration
Swift
case popularity
-
The media provider that the user wants this media to be played on.
Declaration
Swift
case provider
-
The categorical information of a sport, for example, football.
Declaration
Swift
case sport
-
The categorical information of a professional sports team.
Declaration
Swift
case sportsTeam
-
The type of content requested. Supported types are
Movie
,MovieSeries
,TVSeries
,TVSeason
,TVEpisode
,SportsEvent
, andVideo
.Declaration
Swift
case type
-
The identifying data for a specific piece of video content.
Declaration
Swift
case video
-
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil
. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"
Declaration
Swift
init?(rawValue: UInt64)
Parameters
rawValue
The raw value to use for the new instance.