import"InputManagerPlugin.idl";
This is a class which implements global InputManager object.
void InputManager.addEventListener |
( |
[in] String |
event_name, |
|
|
[in] EventListener |
listener |
|
) |
| |
Adds DOM2 event listener for specified event.
Possible values are: event_name: "currentAVInputChangeEvent", listener: function that has arguments similar to the currentAVInputChangeEvent interface properties.
- Parameters
-
event_name | Name of the event. |
listener | javascript function that has arguments like the properties listed in the listener's interface. |
AVInput [] InputManager.getAVInputs |
( |
| ) |
|
This function returns list of AVInputs that is enabled from profile.
- Returns
- List of available AVInputs
AVInput InputManager.getCurrentAVInput |
( |
| ) |
|
This function returns current AV Input.
- Returns
- Current AVInput
void InputManager.removeEventListener |
( |
[in] String |
event_name, |
|
|
[in] EventListener |
listener |
|
) |
| |
Removes single DOM2 event listener for specified event
Possible values are: event_name: "currentAVInputChangeEvent", listener: function that has arguments similar to the currentAVInputChangeEvent interface properties.
- Parameters
-
event_name | Name of the event |
listener | named javascript function that has arguments like the properties listed in the listener's interface. |
void InputManager.removeEventListener |
( |
[in] String |
event_name | ) |
|
void InputManager.selectSource |
( |
[in] AVInput |
input | ) |
|
Selects the specified AVInput.
- Parameters
-
void InputManager.setVideoWindow |
( |
[in] Integer |
x, |
|
|
[in] Integer |
y, |
|
|
[in] Integer |
width, |
|
|
[in] Integer |
height |
|
) |
| |
Set the video position to the specified coordinates.
- Parameters
-
x | X coordinate of the new video position. |
y | Y coordinate of the new video position. |
width | Width of the new video position. |
height | Height of the new video position. |
void InputManager.stopCurrentSource |
( |
| ) |
|
const Integer InputManager.AttributesChanged = 3 |
External Interface Status AttributesChanged
const Integer InputManager.AutoAdjustDone = 6 |
External Interface Status AutoAdjustDone
const Integer InputManager.Connected = 1 |
External Interface Status Connected
const Integer InputManager.Disconnected = 2 |
External Interface Status Disconnected
const Integer InputManager.None = 0 |
External Interface Status None
const Integer InputManager.SourceChanged = 7 |
External Interface Status SourceChanged
const Integer InputManager.VideoLost = 5 |
External Interface Status VideoLost
const Integer InputManager.VideoReady = 4 |
External Interface Status VideoReady
The documentation for this interface was generated from the following file: