ActivityResultFunction

public interface ActivityResultFunction

androidx.test.espresso.intent.ActivityResultFunction


Function that returns an Instrumentation.ActivityResult, to be called by ERROR(/ResettingStubberImpl#getActivityResultFunctionForIntent). The method accepts the triggering intent.

Summary

Public methods

abstract Instrumentation.ActivityResult apply(Intent intent)

Public methods

apply

Instrumentation.ActivityResult apply (Intent intent)

Parameters
intent Intent

Returns
Instrumentation.ActivityResult