userPreferences.closedCaptioning()
- Print
userPreferences.closedCaptioning()
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
userPreferences.closedCaptioning()
Retrieves the closeCaptioning user preferences.
Signature:
$badger.userPreferences().closedCaptioning();
Parameters:
None.
Return Values:
Returns a promise that is called with the closedCaptioning settings.
closeCaptioningSettings object:
enabled (boolean)
: true
if CC is enabled, false
otherwise
Usage Example:
$badger.userPreferences().closedCaptioning()
.success(ccSettings => {
console.log(ccSettings.enabled);
});
Was this article helpful?