top

SF.SERVICE.AVSETTING

** This class will not be supported in 2015.

   All functionalities of sf.service.AVSetting class are more improved, integrating with CAPH. Therefore sf.service.AVSetting class is not supported since 2015 Smart TV. To use functions of sf.service.AVsetting class, refer to here.


This class indicates AV setting.This is used by VOD applications. AV setting popup provides screen configuration option, sound configuration option.

Add the following line for sf.service.AVSetting class into a html file your own :

  script type="text/javascript" src="$MANAGER_WIDGET/Common/af/2.0.0/loader.js">/script>

You can declare sf.service.AVSetting class like this :

  ex) var avSetting = sf.service.AVSetting;


Methods

show

Description
This function shows the AV setting popup.
Parameters
■callback
  - Function
  - Function to be called when the AV setting popup is closed by user or the hide method.
Return■Boolean
Emulator SupportN
SDK ConstraintNone
Example
var result = sf.service.AVSetting.show(function () {
    $("#btnOpenAVSetting").sfButton('focus');
   });

hide

Description
Hides the AV setting popup. The callback function passed to the show method is called.
Parameters
none
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
sf.service.AVSetting.hide();