SecondaryUserHandler

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()

تعرِض هذه الدالة الاسم الذي سيتم من خلاله التعرّف على الوحدة المُستخدِمة للمَعلمات.

وظائف الإنشاء العامة

SecondaryUserHandler

public SecondaryUserHandler ()

وظائف الإنشاء المحمية

SecondaryUserHandler

protected SecondaryUserHandler (boolean startUserVisibleOnBackground)

المعلمات
startUserVisibleOnBackground boolean

SecondaryUserHandler

protected SecondaryUserHandler (boolean startUserVisibleOnBackground, 
                Integer displayId)

المعلمات
startUserVisibleOnBackground boolean

displayId Integer

الطرق العامة

addParameterSpecificConfig

public final void addParameterSpecificConfig (IConfiguration moduleConfiguration)

تُضاف إلى IConfiguration مع الاحتياجات المحدّدة للمَعلمة. على سبيل المثال، يمكنك إدراج جهات الإعداد المستهدَفة أو إزالتها من الإعداد.

المعلمات
moduleConfiguration IConfiguration: IConfiguration الوحدة

applySetup

public final void applySetup (IConfiguration moduleConfiguration)

طبِّق على الوحدة IConfiguration إعداد الوحدة الخاص بالمَعلمة. على سبيل المثال، يمكن أن تكون هذه خيارات إضافية للمعدّين أو الاختبارات.

المعلمات
moduleConfiguration IConfiguration

getParameterIdentifier

public String getParameterIdentifier ()

تعرِض هذه الدالة الاسم الذي سيتم من خلاله التعرّف على الوحدة المُستخدِمة للمَعلمات.

المرتجعات
String