VideoLicense enum
The videoLicense
parameter filters search results to only include videos
with a particular license. YouTube lets video uploaders choose to attach
either the Creative Commons license or the standard YouTube license to each
of their videos. If you specify a value for this parameter, you must also
set the type
parameter's value to video
.
string
Acceptable values are:
any
– Return all videos, regardless of which license they have, that match the query parameters.creativeCommon
– Only return videos that have a Creative Commons license. Users can reuse videos with this license in other videos that they create. Learn more.youtube
– Only return videos that have the standard YouTube license.
Values
- any → const VideoLicense
- creativeCommon → const VideoLicense
- youtube → const VideoLicense
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
values
→ const List<
VideoLicense> - A constant List of the values in this enum, in order of their declaration.