Class ShadowPhone


  • @Implements(value=android.telecom.Phone.class,
                isInAndroidSdk=false)
    public class ShadowPhone
    extends java.lang.Object
    Shadow for Phone.
    • Constructor Summary

      Constructors 
      Constructor Description
      ShadowPhone()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addCall​(android.telecom.Call call)
      Add Call to a collection that returns when getCalls is called.
      protected android.telecom.CallAudioState getCallAudioState()  
      protected java.util.List<android.telecom.Call> getCalls()  
      • Methods inherited from class java.lang.Object

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

      • ShadowPhone

        public ShadowPhone()
    • Method Detail

      • getCalls

        @Implementation(minSdk=23)
        protected final java.util.List<android.telecom.Call> getCalls()
      • getCallAudioState

        @Implementation(minSdk=23)
        protected final android.telecom.CallAudioState getCallAudioState()
      • addCall

        public void addCall​(android.telecom.Call call)
        Add Call to a collection that returns when getCalls is called.