public interface BluetoothDevicePicker
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_DEVICE_SELECTED
Broadcast when one BT device is selected from BT device picker screen.
|
static String |
ACTION_LAUNCH
Broadcast when someone want to select one BT device from devices list.
|
static String |
EXTRA_FILTER_TYPE |
static String |
EXTRA_LAUNCH_CLASS |
static String |
EXTRA_LAUNCH_PACKAGE |
static String |
EXTRA_NEED_AUTH |
static int |
FILTER_TYPE_ALL
Ask device picker to show all kinds of BT devices
|
static int |
FILTER_TYPE_AUDIO
Ask device picker to show BT devices that support AUDIO profiles
|
static int |
FILTER_TYPE_NAP
Ask device picker to show BT devices that support Network Access Point (NAP) profile
|
static int |
FILTER_TYPE_PANU
Ask device picker to show BT devices that support
Personal Area Networking User (PANU) profile
|
static int |
FILTER_TYPE_TRANSFER
Ask device picker to show BT devices that support Object Transfer
|
static final String EXTRA_NEED_AUTH
static final String EXTRA_FILTER_TYPE
static final String EXTRA_LAUNCH_PACKAGE
static final String EXTRA_LAUNCH_CLASS
static final String ACTION_DEVICE_SELECTED
BluetoothDevice
is returned in extra data named
BluetoothDevice.EXTRA_DEVICE
.static final String ACTION_LAUNCH
EXTRA_NEED_AUTH
(boolean): if need authentication
- EXTRA_FILTER_TYPE
(int): what kinds of device should be
listed
- EXTRA_LAUNCH_PACKAGE
(string): where(which package) this
intent come from
- EXTRA_LAUNCH_CLASS
(string): where(which class) this intent
come fromstatic final int FILTER_TYPE_ALL
static final int FILTER_TYPE_AUDIO
static final int FILTER_TYPE_TRANSFER
static final int FILTER_TYPE_PANU
static final int FILTER_TYPE_NAP