ui.media.MediaModel.Credit Extends
Indicates an entity that has contributed to a media object. Based on 'media.credit' in the rss spec.

Inheritance

Constructor

goog.ui.media.MediaModel.Credit(valueopt_roleopt_scheme)

Parameters

value : string
The name of the entity being credited.
opt_role : goog.ui.media.MediaModel.Credit.Role=
The role the entity played.
opt_scheme : goog.ui.media.MediaModel.Credit.Scheme=
The URI that identifies the role scheme.

Instance Methods

Public Protected Private
getRole() goog.ui.media.MediaModel.Credit.Role | undefined
Gets the role of the entity being credited.
Returns: goog.ui.media.MediaModel.Credit.Role | undefined  The role of the entity.
code »
getScheme() goog.ui.media.MediaModel.Credit.Scheme | undefined
Gets the scheme of the credit object.
Returns: goog.ui.media.MediaModel.Credit.Scheme | undefined  The URI that identifies the role scheme.
code »
getValue() string
Gets the name of the entity being credited.
Returns: string  The name of the entity.
code »
setRole(role) !goog.ui.media.MediaModel.Credit
Sets the role of the credit object.
Arguments:
role : goog.ui.media.MediaModel.Credit.Role
The role.
Returns: !goog.ui.media.MediaModel.Credit  The object itself.
code »
setScheme(scheme) !goog.ui.media.MediaModel.Credit
Sets the scheme of the credit object.
Arguments:
scheme : goog.ui.media.MediaModel.Credit.Scheme
The scheme.
Returns: !goog.ui.media.MediaModel.Credit  The object itself.
code »
setValue(value) !goog.ui.media.MediaModel.Credit
Sets the value of the credit object.
Arguments:
value : string
The value.
Returns: !goog.ui.media.MediaModel.Credit  The object itself.
code »

Instance Properties

role_ :
The role the entity played.
Code »
scheme_ :
The URI that identifies the role scheme
Code »
value_ :
The name of entity being credited.
Code »

Enumerations

goog.ui.media.MediaModel.Credit.Role :
The types of known roles.
Constants:
OWNER
No description.
UPLOADER
No description.
Code »
goog.ui.media.MediaModel.Credit.Scheme :
The types of known schemes.
Constants:
EUROPEAN_BROADCASTING
No description.
YAHOO
No description.
YOUTUBE
No description.
Code »

Package ui.media.MediaModel

Package Reference