Package org.robolectric.shadows
Class ShadowConnection
- java.lang.Object
-
- org.robolectric.shadows.ShadowConnection
-
@Implements(value=android.telecom.Connection.class, minSdk=25) public class ShadowConnection extends Object
Shadow forConnectionthat represents a phone call or connection to a remote endpoint that carries voice and/or video traffic.
-
-
Constructor Summary
Constructors Constructor Description ShadowConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getLastConnectionEvent()protected voidsendConnectionEvent(String event, Bundle extras)Records the event sent through sendConnectionEvent to be accessed later by tests.
-
-
-
Method Detail
-
sendConnectionEvent
@Implementation protected void sendConnectionEvent(String event, Bundle extras)
Records the event sent through sendConnectionEvent to be accessed later by tests.
-
-