Class ShadowBluetoothA2dp

    • Constructor Detail

      • ShadowBluetoothA2dp

        public ShadowBluetoothA2dp()
    • Method Detail

      • addDevice

        public void addDevice​(BluetoothDevice bluetoothDevice,
                              int connectionState)
      • removeDevice

        public void removeDevice​(BluetoothDevice bluetoothDevice)
      • getDevicesMatchingConnectionStates

        @Implementation
        protected List<BluetoothDevice> getDevicesMatchingConnectionStates​(int[] states)
      • getConnectionState

        @Implementation
        protected int getConnectionState​(BluetoothDevice device)
      • setDynamicBufferSupport

        public void setDynamicBufferSupport​(int type)
      • getDynamicBufferSupport

        @Implementation(minSdk=31)
        protected int getDynamicBufferSupport()
      • setBufferLengthMillis

        @Implementation(minSdk=31)
        protected boolean setBufferLengthMillis​(int codec,
                                                int value)
      • getBufferLengthMillis

        public int getBufferLengthMillis​(int codec)
      • getActiveDevice

        @Nullable
        @Implementation(minSdk=28)
        protected BluetoothDevice getActiveDevice()
      • setActiveDevice

        @Implementation(minSdk=28)
        protected boolean setActiveDevice​(@Nullable
                                          BluetoothDevice bluetoothDevice)