Device

Syntax

public interface Device

Description

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 finalMATCH_NONE
 Return value from Driver.match(ServiceReference) if the driver does not match the device.
Methods
public voidnoDriverFound()
 Called by the device manager after it has failed to attach any driver to the device.

Fields

MATCH_NONE
public static final int MATCH_NONE
						

Return value from Driver.match(ServiceReference) if the driver does not match the device.

Methods

noDriverFound()
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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.142.232