VideoPart enum

The part parameter specifies a comma-separated list of one or more video resource properties that the API response will include.

string

If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set part=snippet, the API response will contain all of those properties.

The following list contains the part names that you can include in the parameter value:

  • contentDetails
  • fileDetails
  • id
  • liveStreamingDetails
  • localizations
  • player
  • processingDetails
  • recordingDetails
  • snippet
  • statistics
  • status
  • suggestions
  • topicDetails
Inheritance
Available extensions

Values

contentDetails → const VideoPart
fileDetails → const VideoPart
id → const VideoPart
liveStreamingDetails → const VideoPart
localizations → const VideoPart
player → const VideoPart
processingDetails → const VideoPart
recordingDetails → const VideoPart
snippet → const VideoPart
statistics → const VideoPart
status → const VideoPart
suggestions → const VideoPart
topicDetails → const VideoPart

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

implementedParts → const Set<VideoPart>
values → const List<VideoPart>
A constant List of the values in this enum, in order of their declaration.