The ToiVideoOutputConfiguration interface is used for querying the video output settings.
import "ToiVideoOutputConfiguration.idl";
Aspect ratio and position of the active area within the video frame.
typedef long ToiVideoOutputConfiguration::TToiAspectRatio |
Aspect ratio of display.
typedef long ToiVideoOutputConfiguration::TToiColorSpace |
Enumeration of video color spaces.
typedef sequence< TToiColorSpace > ToiVideoOutputConfiguration::TToiColorSpaceSequence |
Sequence of TToiColorSpace
typedef long ToiVideoOutputConfiguration::TToiColorSystem |
Enumeration of video color systems.
typedef sequence< TToiColorSystem > ToiVideoOutputConfiguration::TToiColorSystemSequence |
Sequence of ToiVideoOutputConfiguration::TToiColorSystem
typedef long ToiVideoOutputConfiguration::TToiDisplayStatus |
The display status information.
typedef long ToiVideoOutputConfiguration::TToiScartMode |
Enumerations of SCART video modes.
typedef sequence< TToiScartMode > ToiVideoOutputConfiguration::TToiScartModeSequence |
Sequence of ToiVideoOutputConfiguration::TToiScartMode.
typedef long ToiVideoOutputConfiguration::TToiValueMode |
Generic values for enabling and disabling different features.
typedef sequence< TToiValueMode > ToiVideoOutputConfiguration::TToiValueModeSequence |
Sequence of ToiVideoOutputConfiguration::TToiValueMode
typedef long ToiVideoOutputConfiguration::TToiVideoConnectionType |
Enumeration of video connection types.
typedef long ToiVideoOutputConfiguration::TToiVideoMode |
Enumeration of video modes.
typedef sequence< TToiVideoMode > ToiVideoOutputConfiguration::TToiVideoModeSequence |
Sequence of ToiVideoOutputConfiguration::TToiVideoMode
typedef unsigned long ToiVideoOutputConfiguration::TToiVideoOutputId |
Video output identifier.
typedef sequence< TToiVideoOutputId > ToiVideoOutputConfiguration::TToiVideoOutputIdSequence |
List of video output identifiers.
typedef long ToiVideoOutputConfiguration::TToiVideoOutputType |
Enumeration of video output types.
void ToiEventTarget::addEventListener | ( | in long | type, | |
in ToiEventListener | listener | |||
) | raises (TToiInvalidArgumentException) [inherited] |
This method registers an event listener for a specific event. Multiple listeners can be added for the same event. Events are broadcast to all registered listeners.
type | The event type of the event to subscribe to. | |
listener | The JavaScript function that will receive events. |
TInvalidArgumentException | Raised if the event type is not supported by this object or if the listener is not a valid JavaScript function. This exception is also raised if the application calls addEventListener with the same combination of type and listener twice. |
TToiColorSystem ToiVideoOutputConfiguration::getColorSystem | ( | ) |
Get current color system.
colorSystem | Current color system. |
TToiColorSystemSequence ToiVideoOutputConfiguration::getColorSystems | ( | ) |
Get supported color systems.
colorSystems | Supported color systems. |
ToiVideoOutputConfigurationDisplayInfo ToiVideoOutputConfiguration::getDisplayInfo | ( | in TToiVideoOutputId | outputId | ) | raises (TToiInvalidArgumentException) |
Returns information about the display connected to a video output. This is primarily used for HDMI outputs that may receive EDID information. It is possible to override capabilities of a display using ToiVideoOutputConfigurationSession::setDisplayInfo(). If there are no overrides, ToiVideoOutputConfiguration::getDisplayInfo() returns information from the EDID in the case of HDMI and default values for other outputs. If overrides have been set, these are returned instead.
outputId | Video output identifier. |
info | Information for available displays. |
ToiVideoOutputConfigurationVideoOutputCapabilityInfo ToiVideoOutputConfiguration::getVideoOutputCapabilityInfo | ( | in TToiVideoOutputId | outputId | ) | raises (TToiOperationNotSupportedException, TToiInvalidArgumentException) |
Get capability information about a video output.
outputId | Video output identifier. |
info | The video output capability information. |
TToiOperationNotSupportedException | Raised if outputs can not be listed. | |
TToiInvalidArgumentException | Raised if outputId is an invalid output. |
ToiVideoOutputConfigurationVideoOutputInfo ToiVideoOutputConfiguration::getVideoOutputInfo | ( | in TToiVideoOutputId | outputId | ) | raises (TToiOperationNotSupportedException, TToiInvalidArgumentException) |
Get information about current settings for a video output.
outputId | Video output identifier. |
info | The video output information. |
TToiOperationNotSupportedException | Raised if outputs can not be listed. | |
TToiInvalidArgumentException | Raised if outputId is an invalid output. |
TToiVideoOutputIdSequence ToiVideoOutputConfiguration::getVideoOutputs | ( | ) |
Returns available video outputs.
identifiers | List of video output identifiers. |
void ToiEventTarget::removeEventListener | ( | in long | type, | |
in ToiEventListener | listener | |||
) | raises (TToiInvalidArgumentException) [inherited] |
This method removes an event listener for a specific event.
type | The event type of the event to remove the listener from. | |
listener | The JavaScript function that was previously added as an event listener. |
TInvalidArgumentException | Raised if the event type is not supported by this object or if the listener is not a valid JavaScript function. This exception is also raised if the listener had not previously been added. |
The active format descriptor is 14:9 centre.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_14_9_CENTRE.
The active format descriptor is 14:9 top.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_14_9_TOP.
The active format descriptor is 16:9 centre.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_16_9_CENTRE.
const TToiActiveFormatDescriptor ToiVideoOutputConfiguration::ACTIVE_FORMAT_16_9_SHOOT_AND_PROTECT_14_9_CENTRE = 9 |
The active format descriptor is 16:9 with shoot and protect 14:9 centre.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_16_9_SHOOT_AND_PROTECT_14_9_CENTRE.
const TToiActiveFormatDescriptor ToiVideoOutputConfiguration::ACTIVE_FORMAT_16_9_SHOOT_AND_PROTECT_4_3_CENTRE = 10 |
The active format descriptor is 16:9 with shoot and protect 4:3 centre.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_16_9_SHOOT_AND_PROTECT_4_3_CENTRE.
The active format descriptor is 16:9 top.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_16_9_TOP.
The active format descriptor is 4:3 centre.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_4_3_CENTRE.
const TToiActiveFormatDescriptor ToiVideoOutputConfiguration::ACTIVE_FORMAT_4_3_SHOOT_AND_PROTECT_14_9_CENTRE = 8 |
The active format descriptor is 4:3 with shoot and protect 14:9 centre.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_4_3_SHOOT_AND_PROTECT_14_9_CENTRE.
const TToiActiveFormatDescriptor ToiVideoOutputConfiguration::ACTIVE_FORMAT_MORE_THAN_16_9_CENTRE = 3 |
The active format descriptor is > 16:9 centre.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_MORE_THAN_16_9_CENTRE.
The active format descriptor is same as coded.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_SAME_AS_CODED.
The active format descriptor is not known.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ACTIVE_FORMAT_UNKNOWN.
YPBPR color space. Analog color space used for analog compoent video
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ANALOG_COLOR_SPACE_YPBPR.
Aspect ratio is 16:10
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ASPECT_RATIO_16_10.
Aspect ratio is 16:9 (widescreen).
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ASPECT_RATIO_16_9.
Aspect ratio is 4:3.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ASPECT_RATIO_4_3.
Aspect ratio is not known.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ASPECT_RATIO_UNKNOWN.
This mode is similar to NTSC-M except there is no blanking pedestal. It is the analog system broadcast in Japan.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_NTSC_J.
This is the standard 525i60 NTSC system, broadcast in the United States.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_NTSC_M.
This is the standard 625i50 PAL system, broadcast in most European countries. It uses a 4.43 MHz color subcarrier. This value should also be used for PAL D, G, H, I and K systems since the baseband video signal is identical for all of them.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_PAL_B.
This is a hybrid 525i60 PAL system, broadcast in Brazil. It uses a 3.58 MHz color subcarrier.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_PAL_M.
This is a 625i50 PAL system with a 3.58 MHz color subcarrier. It is broadcast in some countries in Latin America, such as Paraguay and Uruguay.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_PAL_N.
This is a 625i50 PAL system with a 3.58 MHz color subcarrier and an increased black level on lines outside the VBI. Also known as PAL Combination N and is broadcast in some countries in Latin America, such as Argentina.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.COLOR_SYSTEM_PAL_NC.
SRGB color space.This is the most common color space for HDMI video.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_SRGB.
XVYCC color space. A futuristic color space that is mentioned in the HDMI standard but rarely used. It is here for the sake of completeness as no STB supports this yet.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_XVYCC.
YCBR422 color space. This is a subsampled version of the above. The chroma components are sampled at half the luminance component thus creating a less accurate but more bandwidth friendly signal.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_YCBCR_422.
YCBR444 color space. This color space represents the full range of the component signal. All components have the same sampling rate so there is no chroma subsampling.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DIGITAL_COLOR_SPACE_YCBCR_444.
Display is connected and capabilities are known.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DISPLAY_STATUS_CONNECTED.
const TToiDisplayStatus ToiVideoOutputConfiguration::DISPLAY_STATUS_CONNECTED_CAPABILITIES_UNKNOWN = 2 |
Display is connected but capabilities are unknown or invalid.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DISPLAY_STATUS_CONNECTED_CAPABILITIES_UNKNOWN.
Display is not connected.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DISPLAY_STATUS_DISCONNECTED.
Display status is unknown.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.DISPLAY_STATUS_UNKNOWN.
No color space.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.NO_COLOR_SPACE.
Used when setting is not applicable.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.NO_SCART_MODE.
N/A value
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.NO_VALUE_MODE.
This is the value used for turning off an output.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.NO_VIDEO_MODE.
const long ToiVideoOutputConfiguration::ON_COLOR_SYSTEM_CHANGED = 3602 |
This is an Event identifier for ToiVideoOutputConfigurationColorSystemChangedEvent.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ON_COLOR_SYSTEM_CHANGED.
const long ToiVideoOutputConfiguration::ON_DISPLAY_CHANGED = 3601 |
This is an Event identifier for ToiVideoOutputConfigurationDisplayChangedEvent.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ON_DISPLAY_CHANGED.
const long ToiVideoOutputConfiguration::ON_VIDEO_OUTPUT_SETTINGS_CHANGED = 3600 |
This is an Event identifier for ToiVideoOutputConfigurationVideoOutputSettingsChangedEvent.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.ON_VIDEO_OUTPUT_SETTINGS_CHANGED.
Output only composite video on SCART.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCART_MODE_CVBS.
Output RGB component video as well as composite video. The composite signal is used for timing only.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCART_MODE_RGB_CVBS.
Output separate luminance and chrominance signals, i.e. S-video. Note that displays must be manually configured to receive S-video since it is not possible to signal the S-video format in the SCART connector.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.SCART_MODE_YC.
Value that indicates disabled feature
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VALUE_MODE_DISABLED.
Value that indicates enabled feature
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VALUE_MODE_ENABLED.
Component connection.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_COMPONENT.
Composite connection.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_COMPOSITE.
HDMI connection.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_HDMI.
RF connection.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_RF.
SCART connection.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_SCART.
S-video connection.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_CONNECTION_TYPE_SVIDEO.
Interlaced scan video mode with 1080 active lines and 50Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080I50.
Interlaced scan video mode with 1080 active lines and 60Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080I60.
Progressive scan video mode with 1080 active lines and 23.976Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P23976.
Progressive scan video mode with 1080 active lines and 24Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P24.
Progressive scan video mode with 1080 active lines and 25Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P25.
Progressive scan video mode with 1080 active lines and 29.970Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P29970.
Progressive scan video mode with 1080 active lines and 30Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P30.
Progressive scan video mode with 1080 active lines and 50Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P50.
Progressive scan video mode with 1080 active lines and 59.940Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P59940.
Progressive scan video mode with 1080 active lines and 60Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_1080P60.
Interlaced scan video mode with 480 active lines and 60Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_480I60.
Progressive scan video mode with 480 active lines and 60Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_480P60.
Interlaced scan video mode with 576 active lines and 50Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_576I50.
Progressive scan video mode with 576 active lines and 50Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_576P50.
Progressive scan video mode with 720 active lines and 50Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_720P50.
Progressive scan video mode with 720 active lines and 60Hz vertical frequency.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_MODE_720P60.
Output is in HD.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_OUTPUT_TYPE_HD.
Output is in SD.
This constant can also be accessed from toi.consts.ToiVideoOutputConfiguration.VIDEO_OUTPUT_TYPE_SD.