public interface Device
The Device interface should be implemented by services wishing to be discovered by the device manager. Concrete devices subclass this interface adding methods appropriate to the device category.
If no drivers are interested in this device, the noDriverFound() method is called.
See Also: Device
Member Summary | |
---|---|
Fields | |
public static final | MATCH_NONE |
Return value from Driver.match(ServiceReference) if the driver does not match the device. | |
Methods | |
public void | noDriverFound() |
Called by the device manager after it has failed to attach any driver to the device. |
public static final int MATCH_NONE
Return value from Driver.match(ServiceReference) if the driver does not match the device.
public void noDriverFound()
Called by the device manager after it has failed to attach any driver to the device.
If the device can be configured in alternate ways, the driver may respond by unregistering the device service and registering a different device service instead.
3.140.195.225