Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

IMonitor

public interface IMonitor

androidx.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