第二个 Android 11 开发者预览版现已推出,快来测试并分享您的反馈吧

IAutomationSupport

public interface IAutomationSupport

androidx.test.uiautomator.IAutomationSupport


Provides auxiliary support for running test cases

Summary

Public methods

abstract void sendStatus(int resultCode, Bundle status)

Allows the running test cases to send out interim status

Public methods

sendStatus

void sendStatus (int resultCode, 
                Bundle status)

Allows the running test cases to send out interim status

Parameters
status Bundle: status report, consisting of key value pairs