Class ShadowInCallService

    • Constructor Detail

      • ShadowInCallService

        public ShadowInCallService()
    • Method Detail

      • __constructor__

        @Implementation
        protected void __constructor__()
      • updateCall

        public void updateCall​(ParcelableCall parcelableCall)
      • setInCallAdapter

        public void setInCallAdapter​(com.android.internal.telecom.IInCallAdapter inCallAdapter)
      • addCall

        public void addCall​(Call call)
      • removeCall

        public void removeCall​(Call call)
      • canAddCall

        @Implementation
        protected boolean canAddCall()
      • setCanAddCall

        public void setCanAddCall​(boolean canAddCall)
        Set the value that canAddCall() method should return.
      • setMuted

        @Implementation
        protected void setMuted​(boolean muted)
      • setAudioRoute

        @Implementation
        protected void setAudioRoute​(int audioRoute)
      • getCallAudioState

        @Implementation
        protected CallAudioState getCallAudioState()
      • setSupportedRouteMask

        public void setSupportedRouteMask​(int mask)
      • requestBluetoothAudio

        @Implementation(minSdk=28)
        protected void requestBluetoothAudio​(BluetoothDevice bluetoothDevice)
      • getBluetoothAudio

        public BluetoothDevice getBluetoothAudio()
        Returns:
        the last value provided to requestBluetoothAudio().