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 for
Connection
that 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
Modifier and Type Method Description Optional<String>
getLastConnectionEvent()
protected void
sendConnectionEvent(String event, Bundle extras)
Records the event sent through sendConnectionEvent to be accessed later by tests.
-
Constructor Details
-
ShadowConnection
public ShadowConnection()
-
-
Method Details
-
sendConnectionEvent
Records the event sent through sendConnectionEvent to be accessed later by tests. -
getLastConnectionEvent
-