top

SF.ENV

** This class will not be supported in 2015.

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


For more information on the class features, see 3D.

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

  ex) var env = sf.env;


Methods

get3DSupported

Description
This function returns 3D mode availability.
Parameters
none
Return■Number
  - indicates 3D mode availability.
   * sf.env.SUPPORT3D_FIRMWARE_UPDATE_NEEDED : 3D supported after the firmware is updated
   * sf.env.SUPPORT3D_NOTSUPPORTED : 3D not supported
   * sf.env.SUPPORT3D_SUPPORTED : 3D supported.
Emulator SupportN
SDK ConstraintNone
Example
var threedsupport = threedMap[sf.env.get3DSupported()];