# AdapterViewProtocol.DataFunction

`public static interface AdapterViewProtocol.DataFunction`
``

android.support.test.espresso.action.AdapterViewProtocol.DataFunction

A custom function that is applied when `getData()` is executed.

See also:

- `withDataFunction(DataFunction)`

## Summary

### Public methods
`abstract Object` | `getData()`

## Public methods

### getData

    Object getData ()

Returns
`Object` |

- ## Interfaces

  - AdapterViewProtocol
  - AdapterViewProtocol.DataFunction
  - CoordinatesProvider
  - PrecisionDescriber
  - Swiper
  - Tapper

- ## Classes

  - AdapterDataLoaderAction
  - AdapterViewProtocol.AdaptedData
  - AdapterViewProtocol.AdaptedData.Builder
  - AdapterViewProtocols
  - CloseKeyboardAction
  - EditorAction
  - EspressoKey
  - EspressoKey.Builder
  - GeneralClickAction
  - GeneralSwipeAction
  - KeyEventAction
  - MotionEvents
  - MotionEvents.DownResultHolder
  - OpenLinkAction
  - ReplaceTextAction
  - ScrollToAction
  - TypeTextAction
  - ViewActions

- ## Enums

  - GeneralLocation
  - Press
  - Swipe
  - Swiper.Status
  - Tap
  - Tapper.Status