Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The JavaScript equivalent is videomodeconfiguration.

Attributes

readonly attribute int resX

...

readonly attribute BSDecoderModeList decoderModeList

Methods

Note

The methods used by this object are obsolete and can be found in the videooutput and videomodeconfiguration JavaScript API documentation. The HdmiAudioDisable() method can be found in the roVideoMode BrightScript API documentation. 

Code Block
languagejs
boolean IsAttached(in DOMString connector)

DOMString GetBestMode(in DOMString connector)

boolean SetBackgroundColour(in unsigned long rgb)

boolean SetBackgroundColour(in unsigned long r,
	in unsigned long g,
	in unsigned long b)

boolean SetPowerSaveMode(in boolean disable)

boolean HdmiAudioDisable(in boolean disable)
 
boolean SetDecoderMode(in DOMString decoder,
	in DOMString timeslice_mode,
	in int z_order,
	in DOMString friendly_name,
	in boolean enable_mosaic_deinterlacer)


boolean SetSyncManager(in BSSyncManager sync); //See the roVideoMode.SetSyncDomain() entry for more details.

BSDecoderMode

The decoderModeList attribute contains an array of BSDecoderMode objects, each containing information about a configured decoder on the player.

See the SetDecoderMode() and GetDecoderMode() entries on the roVideoModepage for more information about decoder parameters.

Code Block
languagejs
interface BSDecoderMode {
    readonly attribute DOMString decoderName;
    readonly attribute DOMString friendlyName;
    readonly attribute DOMString maxSize;
    readonly attribute DOMString configuredSize;
    readonly attribute unsigned long currentUsage;
    readonly attribute unsigned long maxUsage;
    readonly attribute boolean mosaic;
    readonly attribute boolean enableDeinterlacer;
};

...

Example

The following JavaScript example illustrates how to retrieve information about the current video mode:

...