Package org.robolectric.shadows
Class ShadowBluetoothA2dp
java.lang.Object
org.robolectric.shadows.ShadowBluetoothA2dp
Shadow of
BluetoothA2dp.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDevice(BluetoothDevice bluetoothDevice, int connectionState) protected BluetoothDeviceintgetBufferLengthMillis(int codec) protected List<BluetoothDevice>protected intgetConnectionState(BluetoothDevice device) protected List<BluetoothDevice>getDevicesMatchingConnectionStates(int[] states) protected intvoidremoveDevice(BluetoothDevice bluetoothDevice) protected booleansetActiveDevice(BluetoothDevice bluetoothDevice) protected booleansetBufferLengthMillis(int codec, int value) voidsetDynamicBufferSupport(int type)
-
Constructor Details
-
ShadowBluetoothA2dp
public ShadowBluetoothA2dp()
-
-
Method Details
-
addDevice
-
removeDevice
-
getConnectedDevices
-
getDevicesMatchingConnectionStates
-
getConnectionState
-
setDynamicBufferSupport
public void setDynamicBufferSupport(int type) -
getDynamicBufferSupport
-
setBufferLengthMillis
-
getBufferLengthMillis
public int getBufferLengthMillis(int codec) -
getActiveDevice
-
setActiveDevice
@Implementation(minSdk=28) protected boolean setActiveDevice(@Nullable BluetoothDevice bluetoothDevice)
-