public enum

ViewMatchers.Visibility

extends java.lang.Enum<ViewMatchers.Visibility>

 java.lang.Object

↳java.lang.Enum<ViewMatchers.Visibility>

↳androidx.test.espresso.matcher.ViewMatchers.Visibility

Overview

Enumerates the possible list of values for View.

Summary

Enum Constants
GONE
INVISIBLE
VISIBLE
Methods
public static ViewMatchers.VisibilityforViewVisibility(View view)

Get the ViewMatchers.Visibility enum for the current value in View.

public intgetValue()

public static ViewMatchers.VisibilityvalueOf(java.lang.String name)

public static ViewMatchers.Visibilityvalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

VISIBLE

INVISIBLE

GONE

Methods

public static ViewMatchers.Visibility values()

public static ViewMatchers.Visibility valueOf(java.lang.String name)

public static ViewMatchers.Visibility forViewVisibility(View view)

Get the ViewMatchers.Visibility enum for the current value in View.

Parameters:

view: The view to get the visibility value for.

Returns:

The current visibility enum value.

See also: ViewMatchers.Visibility

public int getValue()