diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-18 01:09:07 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-03-18 01:09:07 +0000 |
commit | 9b52556d5cd7842ebfb13f13f3dc9ca68ae018c3 (patch) | |
tree | 72f48848f750d5fff52fee563cad8e952abcfd43 /framework/java/android/bluetooth/BluetoothDevicePicker.java | |
parent | ad221bf0c86a98f68d69e06ad79e025a38563881 (diff) | |
parent | 1d06e1a4e899e5a0d22905241ea5cf935224ef81 (diff) |
Snap for 8317698 from 1d06e1a4e899e5a0d22905241ea5cf935224ef81 to tm-release
Change-Id: I50c536ec3728a64771a134f3c4eba5c68465e640
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevicePicker.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothDevicePicker.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevicePicker.java b/framework/java/android/bluetooth/BluetoothDevicePicker.java index d17ab8d72a..d1fc0622e4 100644 --- a/framework/java/android/bluetooth/BluetoothDevicePicker.java +++ b/framework/java/android/bluetooth/BluetoothDevicePicker.java @@ -30,15 +30,37 @@ import android.bluetooth.annotations.RequiresBluetoothConnectPermission; */ @SystemApi public interface BluetoothDevicePicker { + + /** + * Extra for filter type used with {@link #ACTION_LAUNCH}. + * The value must be a boolean indicating whether the device should need authentication or not. + */ @SuppressLint("ActionValue") public static final String EXTRA_NEED_AUTH = "android.bluetooth.devicepicker.extra.NEED_AUTH"; + + /** + * Extra for filter type used with {@link #ACTION_LAUNCH}. + * This extra must contain the filter type that will be applied to the device list. + * Possible values are {@link #FILTER_TYPE_ALL}, {@link #FILTER_TYPE_AUDIO}, + * {@link #FILTER_TYPE_TRANSFER}, {@link #FILTER_TYPE_PANU}, and {@link #FILTER_TYPE_NAP}. + */ @SuppressLint("ActionValue") public static final String EXTRA_FILTER_TYPE = "android.bluetooth.devicepicker.extra.FILTER_TYPE"; + + /** + * Extra for filter type used with {@link #ACTION_LAUNCH}. + * This extra must contain the package name that called {@link #ACTION_LAUNCH}. + */ @SuppressLint("ActionValue") public static final String EXTRA_LAUNCH_PACKAGE = "android.bluetooth.devicepicker.extra.LAUNCH_PACKAGE"; + + /** + * Extra for filter type used with {@link #ACTION_LAUNCH}. + * This extra must contain the class name that called {@link #ACTION_LAUNCH}. + */ @SuppressLint("ActionValue") public static final String EXTRA_LAUNCH_CLASS = "android.bluetooth.devicepicker.extra.DEVICE_PICKER_LAUNCH_CLASS"; |