@Implements(android.bluetooth.BluetoothA2dp.class) public class ShadowBluetoothA2dp extends Object
BluetoothA2dp
.Constructor | Description |
---|---|
ShadowBluetoothA2dp() |
Modifier and Type | Method | Description |
---|---|---|
void |
addDevice(BluetoothDevice bluetoothDevice,
int connectionState) |
|
protected List<BluetoothDevice> |
getConnectedDevices() |
|
protected int |
getConnectionState(BluetoothDevice device) |
|
protected List<BluetoothDevice> |
getDevicesMatchingConnectionStates(int[] states) |
|
void |
removeDevice(BluetoothDevice bluetoothDevice) |
public void addDevice(BluetoothDevice bluetoothDevice, int connectionState)
public void removeDevice(BluetoothDevice bluetoothDevice)
@Implementation protected List<BluetoothDevice> getConnectedDevices()
@Implementation protected List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states)
@Implementation protected int getConnectionState(BluetoothDevice device)