Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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