org.robolectric.shadows.ShadowBluetoothManager Maven / Gradle / Ivy
package org.robolectric.shadows;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothManager;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.Implementation;
/**
* Shadow for {@link android.bluetooth.BluetoothManager}.
*/
@Implements(BluetoothManager.class)
public class ShadowBluetoothManager {
@Implementation
public BluetoothAdapter getAdapter() {
return BluetoothAdapter.getDefaultAdapter();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy