Top Description Methods
javax.usb

public Interface UsbInterfacePolicy


Interface describing the policy to claim an interface with.
Author
Dan Streetman

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

If the interface should be forcibly claimed.
forceClaim
(UsbInterface
The UsbInterface being claimed.
usbInterface
)

If the claim should be forced.

Method Detail

forceClaimback to summary
public boolean forceClaim(UsbInterface usbInterface)

If the claim should be forced.

This will try to forcibly claim the UsbInterface. This is only intended as a flag to the implementation to try everything possible to allow a successful claim. The implementation may try to override any other driver(s) that have the interface claimed.

The implementation is not required to use this flag.

Warning

This should only be used if you are absolutely sure you want to drive the interface.

Parameters
usbInterface:UsbInterface

The UsbInterface being claimed.

Returns:boolean

If the interface should be forcibly claimed.