ตัวจัดการผู้ใช้รอง

public class SecondaryUserHandler
extends Object implements IModuleParameterHandler

java.lang.Object
com.android.tradefed.testtype.suite.params.SecondaryUserHandler


ตัวจัดการสำหรับ ModuleParameters#SECONDARY_USER

สรุป

ผู้สร้างสาธารณะ

SecondaryUserHandler ()

ตัวสร้างที่ได้รับการป้องกัน

SecondaryUserHandler (boolean startUserVisibleOnBackground)
SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId)

วิธีการสาธารณะ

final void addParameterSpecificConfig ( IConfiguration moduleConfiguration)

เพิ่มไปยัง IConfiguration ที่มีความต้องการเฉพาะของพารามิเตอร์

final void applySetup ( IConfiguration moduleConfiguration)

ใช้กับโมดูล IConfiguration การตั้งค่าโมดูลเฉพาะพารามิเตอร์

String getParameterIdentifier ()

ส่งคืนชื่อโมดูลที่กำหนดพารามิเตอร์จะถูกระบุเป็น

ผู้สร้างสาธารณะ

ตัวจัดการผู้ใช้รอง

public SecondaryUserHandler ()

ตัวสร้างที่ได้รับการป้องกัน

ตัวจัดการผู้ใช้รอง

protected SecondaryUserHandler (boolean startUserVisibleOnBackground)

พารามิเตอร์
startUserVisibleOnBackground boolean

ตัวจัดการผู้ใช้รอง

protected SecondaryUserHandler (boolean startUserVisibleOnBackground, 
                Integer displayId)

พารามิเตอร์
startUserVisibleOnBackground boolean

displayId Integer

วิธีการสาธารณะ

addParameterSpecificConfig

public final void addParameterSpecificConfig (IConfiguration moduleConfiguration)

เพิ่มไปยัง IConfiguration ที่มีความต้องการเฉพาะของพารามิเตอร์ ตัวอย่างเช่น แทรกหรือลบตัวเตรียมเป้าหมายออกจากการกำหนดค่า

พารามิเตอร์
moduleConfiguration IConfiguration : IConfiguration ของโมดูล

ใช้การตั้งค่า

public final void applySetup (IConfiguration moduleConfiguration)

ใช้กับโมดูล IConfiguration การตั้งค่าโมดูลเฉพาะพารามิเตอร์ ตัวอย่างเช่น นี่อาจเป็นตัวเลือกพิเศษสำหรับผู้เตรียมหรือการทดสอบ

พารามิเตอร์
moduleConfiguration IConfiguration

getParameterIdentifier

public String getParameterIdentifier ()

ส่งคืนชื่อโมดูลที่กำหนดพารามิเตอร์จะถูกระบุเป็น

ส่งคืน
String