top

SF.SERVICE.PIG

** This class will not be supported in 2015.

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


 For more information on the class features, see Service API (Core).

Add the following line for sf.service.PIG 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.PIG class like this :

  ex) var pig = sf.service.PIG;


Methods

show

Description
This function shows TV screen in the specified div area.
Parameters
■sDivID 
  - String
  - Div ID to show TV screen.
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
sf.service.PIG.show('PIGArea');

hide

Description
This function hides the TV screen.
Parameters
none
Return■Void
Emulator SupportN
SDK ConstraintNone
Example
sf.service.PIG.hide();