import"sbIDeviceManager.idl";
Definition at line 49 of file sbIDeviceManager.idl.
sbIDeviceEvent sbIDeviceManager2::createEvent |
( |
in unsigned long |
aType, |
|
|
[optional] in nsIVariant |
aData, |
|
|
[optional] in nsISupports |
aOrigin, |
|
|
[optional] in unsigned long |
aDeviceState, |
|
|
[optional] in unsigned long |
aDeviceSubState |
|
) |
| |
Create a new event
- Parameters
-
aType | The type of the event; should be one of the COMMAND_* or EVENT_* constants on this interface. |
aData | (Optional) The data to pass to any listeners that would receive this event. |
aOrigin | (Optional) Some indication of the source of the event. |
- See Also
- sbIDeviceEvent
-
sbIDeviceEventTarget
-
sbIDeviceEventListener
Return the device to which the media item specified by aItem belongs. If the media item does not belong to any device, return null.
- Parameters
-
aItem | Media item for which to get device. |
- Returns
- Device to which media item belongs.
Get a device marshall by ID.
void sbIDeviceManager2::updateDevices |
( |
| ) |
|
Simply calls updateDevices on all loaded controllers.
readonly attribute boolean sbIDeviceManager2::canDisconnect |
readonly attribute nsIArray sbIDeviceManager2::marshalls |
List of marshalls that are currently instantiated. Order is undefined and may change between reads.
Definition at line 55 of file sbIDeviceManager.idl.
The documentation for this interface was generated from the following file: