Merge "OOB generateLocalOobData" am: 3a4f319145
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677745 Change-Id: I8317187de5b6a2d5d9ae4deb01509dd2e0fd4fef
This commit is contained in:
@@ -1502,6 +1502,8 @@ package android.bluetooth {
|
||||
}
|
||||
|
||||
public static interface BluetoothAdapter.OobDataCallback {
|
||||
method public void onError(int);
|
||||
method public void onOobData(int, @Nullable android.bluetooth.OobData);
|
||||
}
|
||||
|
||||
public final class BluetoothDevice implements android.os.Parcelable {
|
||||
|
||||
@@ -3062,8 +3062,6 @@ public final class BluetoothAdapter {
|
||||
*
|
||||
* @param transport - whether the {@link OobData} is generated for LE or Classic.
|
||||
* @param oobData - data generated in the host stack(LE) or controller (Classic)
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
void onOobData(@Transport int transport, @Nullable OobData oobData);
|
||||
|
||||
@@ -3071,8 +3069,6 @@ public final class BluetoothAdapter {
|
||||
* Provides feedback when things don't go as expected.
|
||||
*
|
||||
* @param errorCode - the code descibing the type of error that occurred.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
void onError(@OobError int errorCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user