The second Android 11 Developer Preview is now available, test it out and share your feedback.

IntentCallback

public interface IntentCallback

androidx.test.runner.intent.IntentCallback


Callback for monitoring Intents captured by Instrumentation.

Summary

Public methods

abstract void onIntentSent(Intent intent)

Called on main thread when an activity is started from the current instrumentation process by the given intent.

Public methods

onIntentSent

void onIntentSent (Intent intent)

Called on main thread when an activity is started from the current instrumentation process by the given intent.

Parameters
intent Intent