FileDocCategorySizeDatePackage
BluetoothDevicePicker.javaAPI DocAndroid 5.1 API3197Thu Mar 12 22:22:10 GMT 2015android.bluetooth

BluetoothDevicePicker

public interface BluetoothDevicePicker
A helper to show a system "Device Picker" activity to the user.
hide

Fields Summary
public static final String
EXTRA_NEED_AUTH
public static final String
EXTRA_FILTER_TYPE
public static final String
EXTRA_LAUNCH_PACKAGE
public static final String
EXTRA_LAUNCH_CLASS
public static final String
ACTION_DEVICE_SELECTED
Broadcast when one BT device is selected from BT device picker screen. Selected {@link BluetoothDevice} is returned in extra data named {@link BluetoothDevice#EXTRA_DEVICE}.
public static final String
ACTION_LAUNCH
Broadcast when someone want to select one BT device from devices list. This intent contains below extra data: - {@link #EXTRA_NEED_AUTH} (boolean): if need authentication - {@link #EXTRA_FILTER_TYPE} (int): what kinds of device should be listed - {@link #EXTRA_LAUNCH_PACKAGE} (string): where(which package) this intent come from - {@link #EXTRA_LAUNCH_CLASS} (string): where(which class) this intent come from
public static final int
FILTER_TYPE_ALL
Ask device picker to show all kinds of BT devices
public static final int
FILTER_TYPE_AUDIO
Ask device picker to show BT devices that support AUDIO profiles
public static final int
FILTER_TYPE_TRANSFER
Ask device picker to show BT devices that support Object Transfer
public static final int
FILTER_TYPE_PANU
Ask device picker to show BT devices that support Personal Area Networking User (PANU) profile
public static final int
FILTER_TYPE_NAP
Ask device picker to show BT devices that support Network Access Point (NAP) profile
Constructors Summary
Methods Summary