32 #include "nsISupports.idl"
43 [scriptable,
uuid(d70905a8-4644-4c9a-a976-7e9614af8ff2)]
58 in AString aContentType,
59 in
unsigned long aDirection);
75 [optional] in AString aContentType,
76 [optional] in
unsigned long aDirection);
104 [scriptable,
function,
uuid(a34659d6-1dd1-11b2-8659-af363aaf72c0)]
void clearErrorsForDevice(in sbIDevice aDevice)
Clears the array of error strings for a device.
void addListener(in sbIDeviceErrorMonitorListener aListener)
Adds a listener for new device errors.
This interface is used to notify device error listeners of new errors.
This service monitors devices for errors and stores them for easy access later.
nsIArray getDeviceErrors(in sbIDevice aDevice, [optional] in AString aContentType, [optional] in unsigned long aDirection)
Gets an array of property bags containing information about the errors.
void removeListener(in sbIDeviceErrorMonitorListener aListener)
Removes a listener for new device errors.
boolean deviceHasErrors(in sbIDevice aDevice, in AString aContentType, in unsigned long aDirection)
Checks to see if a device has had any recent errors.
void onDeviceError(in sbIDevice aDevice)
Called when a device error is logged for the device specified by aDevice.