Merge "OOB generateLocalOobData" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-14 21:26:34 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 4 deletions

View File

@@ -1948,6 +1948,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 {

View File

@@ -3095,8 +3095,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);
@@ -3104,8 +3102,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);
}