#include <video_file_details_video_stream.h>
Information about a video stream.
◆ VideoFileDetailsVideoStream() [1/2]
google_youtube_api::VideoFileDetailsVideoStream::VideoFileDetailsVideoStream |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ VideoFileDetailsVideoStream() [2/2]
google_youtube_api::VideoFileDetailsVideoStream::VideoFileDetailsVideoStream |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~VideoFileDetailsVideoStream()
google_youtube_api::VideoFileDetailsVideoStream::~VideoFileDetailsVideoStream |
( |
| ) |
|
|
virtual |
◆ clear_aspect_ratio()
void google_youtube_api::VideoFileDetailsVideoStream::clear_aspect_ratio |
( |
| ) |
|
|
inline |
Clears the 'aspectRatio
' attribute.
◆ clear_bitrate_bps()
void google_youtube_api::VideoFileDetailsVideoStream::clear_bitrate_bps |
( |
| ) |
|
|
inline |
Clears the 'bitrateBps
' attribute.
◆ clear_codec()
void google_youtube_api::VideoFileDetailsVideoStream::clear_codec |
( |
| ) |
|
|
inline |
Clears the 'codec
' attribute.
◆ clear_frame_rate_fps()
void google_youtube_api::VideoFileDetailsVideoStream::clear_frame_rate_fps |
( |
| ) |
|
|
inline |
Clears the 'frameRateFps
' attribute.
◆ clear_height_pixels()
void google_youtube_api::VideoFileDetailsVideoStream::clear_height_pixels |
( |
| ) |
|
|
inline |
Clears the 'heightPixels
' attribute.
◆ clear_rotation()
void google_youtube_api::VideoFileDetailsVideoStream::clear_rotation |
( |
| ) |
|
|
inline |
Clears the 'rotation
' attribute.
◆ clear_vendor()
void google_youtube_api::VideoFileDetailsVideoStream::clear_vendor |
( |
| ) |
|
|
inline |
Clears the 'vendor
' attribute.
◆ clear_width_pixels()
void google_youtube_api::VideoFileDetailsVideoStream::clear_width_pixels |
( |
| ) |
|
|
inline |
Clears the 'widthPixels
' attribute.
◆ get_aspect_ratio()
double google_youtube_api::VideoFileDetailsVideoStream::get_aspect_ratio |
( |
| ) |
const |
|
inline |
Get the value of the 'aspectRatio
' attribute.
◆ get_bitrate_bps()
uint64 google_youtube_api::VideoFileDetailsVideoStream::get_bitrate_bps |
( |
| ) |
const |
|
inline |
Get the value of the 'bitrateBps
' attribute.
◆ get_codec()
const StringPiece google_youtube_api::VideoFileDetailsVideoStream::get_codec |
( |
| ) |
const |
|
inline |
Get the value of the 'codec
' attribute.
◆ get_frame_rate_fps()
double google_youtube_api::VideoFileDetailsVideoStream::get_frame_rate_fps |
( |
| ) |
const |
|
inline |
Get the value of the 'frameRateFps
' attribute.
◆ get_height_pixels()
uint32 google_youtube_api::VideoFileDetailsVideoStream::get_height_pixels |
( |
| ) |
const |
|
inline |
Get the value of the 'heightPixels
' attribute.
◆ get_rotation()
const StringPiece google_youtube_api::VideoFileDetailsVideoStream::get_rotation |
( |
| ) |
const |
|
inline |
Get the value of the 'rotation
' attribute.
◆ get_vendor()
const StringPiece google_youtube_api::VideoFileDetailsVideoStream::get_vendor |
( |
| ) |
const |
|
inline |
Get the value of the 'vendor
' attribute.
◆ get_width_pixels()
uint32 google_youtube_api::VideoFileDetailsVideoStream::get_width_pixels |
( |
| ) |
const |
|
inline |
Get the value of the 'widthPixels
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::VideoFileDetailsVideoStream::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_aspect_ratio()
bool google_youtube_api::VideoFileDetailsVideoStream::has_aspect_ratio |
( |
| ) |
const |
|
inline |
Determine if the 'aspectRatio
' attribute was set.
- Returns
- true if the '
aspectRatio
' attribute was set.
◆ has_bitrate_bps()
bool google_youtube_api::VideoFileDetailsVideoStream::has_bitrate_bps |
( |
| ) |
const |
|
inline |
Determine if the 'bitrateBps
' attribute was set.
- Returns
- true if the '
bitrateBps
' attribute was set.
◆ has_codec()
bool google_youtube_api::VideoFileDetailsVideoStream::has_codec |
( |
| ) |
const |
|
inline |
Determine if the 'codec
' attribute was set.
- Returns
- true if the '
codec
' attribute was set.
◆ has_frame_rate_fps()
bool google_youtube_api::VideoFileDetailsVideoStream::has_frame_rate_fps |
( |
| ) |
const |
|
inline |
Determine if the 'frameRateFps
' attribute was set.
- Returns
- true if the '
frameRateFps
' attribute was set.
◆ has_height_pixels()
bool google_youtube_api::VideoFileDetailsVideoStream::has_height_pixels |
( |
| ) |
const |
|
inline |
Determine if the 'heightPixels
' attribute was set.
- Returns
- true if the '
heightPixels
' attribute was set.
◆ has_rotation()
bool google_youtube_api::VideoFileDetailsVideoStream::has_rotation |
( |
| ) |
const |
|
inline |
Determine if the 'rotation
' attribute was set.
- Returns
- true if the '
rotation
' attribute was set.
◆ has_vendor()
bool google_youtube_api::VideoFileDetailsVideoStream::has_vendor |
( |
| ) |
const |
|
inline |
Determine if the 'vendor
' attribute was set.
- Returns
- true if the '
vendor
' attribute was set.
◆ has_width_pixels()
bool google_youtube_api::VideoFileDetailsVideoStream::has_width_pixels |
( |
| ) |
const |
|
inline |
Determine if the 'widthPixels
' attribute was set.
- Returns
- true if the '
widthPixels
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_aspect_ratio()
void google_youtube_api::VideoFileDetailsVideoStream::set_aspect_ratio |
( |
double |
value | ) |
|
|
inline |
Change the 'aspectRatio
' attribute.
The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.
- Parameters
-
◆ set_bitrate_bps()
void google_youtube_api::VideoFileDetailsVideoStream::set_bitrate_bps |
( |
uint64 |
value | ) |
|
|
inline |
Change the 'bitrateBps
' attribute.
The video stream's bitrate, in bits per second.
- Parameters
-
◆ set_codec()
void google_youtube_api::VideoFileDetailsVideoStream::set_codec |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'codec
' attribute.
The video codec that the stream uses.
- Parameters
-
◆ set_frame_rate_fps()
void google_youtube_api::VideoFileDetailsVideoStream::set_frame_rate_fps |
( |
double |
value | ) |
|
|
inline |
Change the 'frameRateFps
' attribute.
The video stream's frame rate, in frames per second.
- Parameters
-
◆ set_height_pixels()
void google_youtube_api::VideoFileDetailsVideoStream::set_height_pixels |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'heightPixels
' attribute.
The encoded video content's height in pixels.
- Parameters
-
◆ set_rotation()
void google_youtube_api::VideoFileDetailsVideoStream::set_rotation |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'rotation
' attribute.
The amount that YouTube needs to rotate the original source content to properly display the video.
- Parameters
-
◆ set_vendor()
void google_youtube_api::VideoFileDetailsVideoStream::set_vendor |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'vendor
' attribute.
A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
- Parameters
-
◆ set_width_pixels()
void google_youtube_api::VideoFileDetailsVideoStream::set_width_pixels |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'widthPixels
' attribute.
The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.
- Parameters
-
The documentation for this class was generated from the following files: