withContentDescription

public final Unit withContentDescription(String description)

Matches the view with given content description

Parameters

description

Content description to match


public final Unit withContentDescription(@StringRes() Integer resourceId)

Matches the view with given content description

Parameters

resourceId

Resource id of content description to match