public final class BluetoothDeviceFilter extends Object
BluetoothDevicePicker
.Modifier and Type | Class and Description |
---|---|
static interface |
BluetoothDeviceFilter.Filter
The filter interface to external classes.
|
Modifier and Type | Field and Description |
---|---|
static BluetoothDeviceFilter.Filter |
ALL_FILTER
All filter singleton (referenced directly).
|
static BluetoothDeviceFilter.Filter |
BONDED_DEVICE_FILTER
Bonded devices only filter (referenced directly).
|
static BluetoothDeviceFilter.Filter |
UNBONDED_DEVICE_FILTER
Unbonded devices only filter (referenced directly).
|
Modifier and Type | Method and Description |
---|---|
static BluetoothDeviceFilter.Filter |
getFilter(int filterType)
Returns the singleton
BluetoothDeviceFilter.Filter object for the specified type,
or ALL_FILTER if the type value is out of range. |
public static final BluetoothDeviceFilter.Filter ALL_FILTER
public static final BluetoothDeviceFilter.Filter BONDED_DEVICE_FILTER
public static final BluetoothDeviceFilter.Filter UNBONDED_DEVICE_FILTER
public static BluetoothDeviceFilter.Filter getFilter(int filterType)
BluetoothDeviceFilter.Filter
object for the specified type,
or ALL_FILTER
if the type value is out of range.filterType
- a constant from BluetoothDevicePickerBluetoothDeviceFilter.Filter
interface.