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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
destroy()
boolean
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. -
destroy
-
getLastConnectionEvent
-
isDestroyed
public boolean isDestroyed()
-