Class ShadowInCallAdapter


  • @Implements(value=android.telecom.InCallAdapter.class,
                isInAndroidSdk=false)
    public class ShadowInCallAdapter
    extends java.lang.Object
    Shadow for InCallAdapter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAudioRoute()
      Returns audioRoute set by setAudioRoute.
      protected void setAudioRoute​(int route)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowInCallAdapter

        public ShadowInCallAdapter()
    • Method Detail

      • setAudioRoute

        @Implementation(minSdk=21)
        protected void setAudioRoute​(int route)
      • getAudioRoute

        public int getAudioRoute()
        Returns audioRoute set by setAudioRoute. Defaults to CallAudioState.ROUTE_EARPIECE.