ResolvedIntent

public interface ResolvedIntent

androidx.test.espresso.intent.ResolvedIntent


An Intent that has been processed to determine the set of packages to which it resolves.

Summary

Public methods

abstract boolean canBeHandledBy(String appPackage)

Returns true if this recorded intent can be handled by an activity in the given package.

abstract Intent getIntent()

Returns the underlying Intent.

Public methods

canBeHandledBy

public abstract boolean canBeHandledBy (String appPackage)

Returns true if this recorded intent can be handled by an activity in the given package.

Parameters
appPackage String

Returns
boolean

getIntent

public abstract Intent getIntent ()

Returns the underlying Intent.

Returns
Intent