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