youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::VideoPlayer Class Reference

#include <video_player.h>

Inheritance diagram for google_youtube_api::VideoPlayer:

Public Member Functions

 VideoPlayer (const Json::Value &storage)
 
 VideoPlayer (Json::Value *storage)
 
virtual ~VideoPlayer ()
 
const StringPiece GetTypeName () const
 
bool has_embed_height () const
 
void clear_embed_height ()
 
int64 get_embed_height () const
 
void set_embed_height (int64 value)
 
bool has_embed_html () const
 
void clear_embed_html ()
 
const StringPiece get_embed_html () const
 
void set_embed_html (const StringPiece &value)
 
bool has_embed_width () const
 
void clear_embed_width ()
 
int64 get_embed_width () const
 
void set_embed_width (int64 value)
 

Static Public Member Functions

static VideoPlayerNew ()
 

Detailed Description

Player to be used for a video playback.

Constructor & Destructor Documentation

◆ VideoPlayer() [1/2]

google_youtube_api::VideoPlayer::VideoPlayer ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ VideoPlayer() [2/2]

google_youtube_api::VideoPlayer::VideoPlayer ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~VideoPlayer()

google_youtube_api::VideoPlayer::~VideoPlayer ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_embed_height()

void google_youtube_api::VideoPlayer::clear_embed_height ( )
inline

Clears the 'embedHeight' attribute.

◆ clear_embed_html()

void google_youtube_api::VideoPlayer::clear_embed_html ( )
inline

Clears the 'embedHtml' attribute.

◆ clear_embed_width()

void google_youtube_api::VideoPlayer::clear_embed_width ( )
inline

Clears the 'embedWidth' attribute.

◆ get_embed_height()

int64 google_youtube_api::VideoPlayer::get_embed_height ( ) const
inline

Get the value of the 'embedHeight' attribute.

◆ get_embed_html()

const StringPiece google_youtube_api::VideoPlayer::get_embed_html ( ) const
inline

Get the value of the 'embedHtml' attribute.

◆ get_embed_width()

int64 google_youtube_api::VideoPlayer::get_embed_width ( ) const
inline

Get the value of the 'embedWidth' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::VideoPlayer::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::VideoPlayer

◆ has_embed_height()

bool google_youtube_api::VideoPlayer::has_embed_height ( ) const
inline

Determine if the 'embedHeight' attribute was set.

Returns
true if the 'embedHeight' attribute was set.

◆ has_embed_html()

bool google_youtube_api::VideoPlayer::has_embed_html ( ) const
inline

Determine if the 'embedHtml' attribute was set.

Returns
true if the 'embedHtml' attribute was set.

◆ has_embed_width()

bool google_youtube_api::VideoPlayer::has_embed_width ( ) const
inline

Determine if the 'embedWidth' attribute was set.

Returns
true if the 'embedWidth' attribute was set.

◆ New()

VideoPlayer * google_youtube_api::VideoPlayer::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_embed_height()

void google_youtube_api::VideoPlayer::set_embed_height ( int64  value)
inline

Change the 'embedHeight' attribute.

Parameters
[in]valueThe new value.

◆ set_embed_html()

void google_youtube_api::VideoPlayer::set_embed_html ( const StringPiece &  value)
inline

Change the 'embedHtml' attribute.

An tag that embeds a player that will play the video.

Parameters
[in]valueThe new value.

◆ set_embed_width()

void google_youtube_api::VideoPlayer::set_embed_width ( int64  value)
inline

Change the 'embedWidth' attribute.

The embed width.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: