{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class OngoingStubbing
Supports method chaining after @Intents#intending method call.
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
void |
respondWith(ActivityResult result)Sets a response for the intent being stubbed. |
void |
Sets a response callable for the intent being stubbed. |
public void respondWith(ActivityResult result)
Sets a response for the intent being stubbed.
public void respondWithFunction(ActivityResultFunction result)
Sets a response callable for the intent being stubbed.