Skip to content

Most visited

Recently visited

navigation

IMonitor

public interface IMonitor

android.support.test.jank.IMonitor


An interface used to define a class that monitors test methods and collects metrics.

Summary

Public methods

abstract Bundle getMetrics()

Get the summary results accross all iterations.

abstract void startIteration()

Begin monitoring a test method.

abstract Bundle stopIteration()

Stop monitoring a test method and return intermediate results for this iteration.

Public methods

getMetrics

Bundle getMetrics ()

Get the summary results accross all iterations.

Returns
Bundle

startIteration

void startIteration ()

Begin monitoring a test method.

Throws
Throwable

stopIteration

Bundle stopIteration ()

Stop monitoring a test method and return intermediate results for this iteration.

Returns
Bundle A Bundle of test results.
Throws
Throwable
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.