The goog.ui.media.MediaModel.Category Class

goog.ui.media.MediaModel.Category(scheme, value, opt_label)

A taxonomy to be set that gives an indication of the type of media content, and its particular contents.

scheme {string}
The URI that identifies the categorization scheme.
value {string}
The value of the category.
opt_label {string=}
The human readable label that can be displayed in end user applications.

.getLabel()

Gets the label of the category.

returns {string}
The label of the category.

.getScheme()

Gets the category scheme.

returns {string}
The category scheme URI.

.getValue()

Gets the categor's value.

returns {string}
The category's value.

.setLabel(label)

Sets the label of the category.

label {string}
The label of the category.
returns {goog.ui.media.MediaModel.Category}
The object itself, used for chaining.

.setScheme(scheme)

Sets the category scheme.

scheme {string}
The category's scheme.
returns {goog.ui.media.MediaModel.Category}
The object itself, used for chaining.

.setValue(value)

Sets the category value.

value {string}
The category value to be set.
returns {goog.ui.media.MediaModel.Category}
The object itself, used for chaining.