public class IUSBDeviceFilter extends IUnknown
getManufacturer()
,getProduct()
,getSerialNumber()
) are ignored, so they behave asany matchno matter what string expression is specified.Constructor and Description |
---|
IUSBDeviceFilter(java.lang.String wrapped,
org.virtualbox_6_1.ObjectRefManager objMgr,
org.virtualbox_6_1.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getActive()
Whether this filter active or has been temporarily disabled.
|
java.lang.String |
getManufacturer()
IUSBDevice.getManufacturer() filter. |
java.lang.Long |
getMaskedInterfaces()
This is an advanced option for hiding one or more USB interfaces
from the guest.
|
java.lang.String |
getName()
Visible name for this filter.
|
java.lang.String |
getPort()
IUSBDevice.getPort() filter. |
java.lang.String |
getProduct()
IUSBDevice.getProduct() filter. |
java.lang.String |
getProductId()
IUSBDevice.getProductId() filter. |
java.lang.String |
getRemote()
IUSBDevice.getRemote() filter. |
java.lang.String |
getRevision()
IUSBDevice.getProductId() filter. |
java.lang.String |
getSerialNumber()
IUSBDevice.getSerialNumber() filter. |
java.lang.String |
getVendorId()
IUSBDevice.getVendorId() filter. |
static IUSBDeviceFilter |
queryInterface(IUnknown obj) |
void |
setActive(java.lang.Boolean value)
Whether this filter active or has been temporarily disabled.
|
void |
setManufacturer(java.lang.String value)
IUSBDevice.getManufacturer() filter. |
void |
setMaskedInterfaces(java.lang.Long value)
This is an advanced option for hiding one or more USB interfaces
from the guest.
|
void |
setName(java.lang.String value)
Visible name for this filter.
|
void |
setPort(java.lang.String value)
IUSBDevice.getPort() filter. |
void |
setProduct(java.lang.String value)
IUSBDevice.getProduct() filter. |
void |
setProductId(java.lang.String value)
IUSBDevice.getProductId() filter. |
void |
setRemote(java.lang.String value)
IUSBDevice.getRemote() filter. |
void |
setRevision(java.lang.String value)
IUSBDevice.getProductId() filter. |
void |
setSerialNumber(java.lang.String value)
IUSBDevice.getSerialNumber() filter. |
void |
setVendorId(java.lang.String value)
IUSBDevice.getVendorId() filter. |
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IUSBDeviceFilter(java.lang.String wrapped, org.virtualbox_6_1.ObjectRefManager objMgr, org.virtualbox_6_1.jaxws.VboxPortType port)
public java.lang.String getName()
public void setName(java.lang.String value)
value
- Stringpublic java.lang.Boolean getActive()
public void setActive(java.lang.Boolean value)
value
- Booleanpublic java.lang.String getVendorId()
IUSBDevice.getVendorId()
filter.
The string representation for theexact matchinghas the formXXXX, whereXis the hex digit
(including leading zeroes).public void setVendorId(java.lang.String value)
IUSBDevice.getVendorId()
filter.
The string representation for theexact matchinghas the formXXXX, whereXis the hex digit
(including leading zeroes).value
- Stringpublic java.lang.String getProductId()
IUSBDevice.getProductId()
filter.
The string representation for theexact matchinghas the formXXXX, whereXis the hex digit
(including leading zeroes).public void setProductId(java.lang.String value)
IUSBDevice.getProductId()
filter.
The string representation for theexact matchinghas the formXXXX, whereXis the hex digit
(including leading zeroes).value
- Stringpublic java.lang.String getRevision()
IUSBDevice.getProductId()
filter. The string representation for theexact matchinghas the formIIFF, whereIis the decimal digit
of the integer part of the revision, andFis the
decimal digit of its fractional part (including leading and
trailing zeros).
Note that for interval filters, it's best to use the hexadecimal
form, because the revision is stored as a 16 bit packed BCD value;
so the expressionint:0x0100-0x0199will match any
revision from1.0to1.99.public void setRevision(java.lang.String value)
IUSBDevice.getProductId()
filter. The string representation for theexact matchinghas the formIIFF, whereIis the decimal digit
of the integer part of the revision, andFis the
decimal digit of its fractional part (including leading and
trailing zeros).
Note that for interval filters, it's best to use the hexadecimal
form, because the revision is stored as a 16 bit packed BCD value;
so the expressionint:0x0100-0x0199will match any
revision from1.0to1.99.value
- Stringpublic java.lang.String getManufacturer()
IUSBDevice.getManufacturer()
filter.public void setManufacturer(java.lang.String value)
IUSBDevice.getManufacturer()
filter.value
- Stringpublic java.lang.String getProduct()
IUSBDevice.getProduct()
filter.public void setProduct(java.lang.String value)
IUSBDevice.getProduct()
filter.value
- Stringpublic java.lang.String getSerialNumber()
IUSBDevice.getSerialNumber()
filter.public void setSerialNumber(java.lang.String value)
IUSBDevice.getSerialNumber()
filter.value
- Stringpublic java.lang.String getPort()
IUSBDevice.getPort()
filter.public void setPort(java.lang.String value)
IUSBDevice.getPort()
filter.value
- Stringpublic java.lang.String getRemote()
IUSBDevice.getRemote()
filter.
NOTE: This filter makes sense only for machine USB filters,
i.e. it is ignored by IHostUSBDeviceFilter objects.public void setRemote(java.lang.String value)
IUSBDevice.getRemote()
filter.
NOTE: This filter makes sense only for machine USB filters,
i.e. it is ignored by IHostUSBDeviceFilter objects.value
- Stringpublic java.lang.Long getMaskedInterfaces()
public void setMaskedInterfaces(java.lang.Long value)
value
- Longpublic static IUSBDeviceFilter queryInterface(IUnknown obj)