ITokenRequest

public interface ITokenRequest
implements IRemoteTest

com.android.tradefed.invoker.shard.token.ITokenRequest


यह इंटरफ़ेस, IRemoteTest को लागू किया जा सकता है. इससे यह पता चलता है कि इसके लिए, खास टोकन वाले डिवाइस की ज़रूरत होती है.

खास जानकारी

पब्लिक मेथड

default Set<TokenProperty> getRequiredTokens(TestInformation testInfo)

टेस्ट के लिए ज़रूरी टोकन की सूची दिखाता है.

default Set<TokenProperty> getRequiredTokens()

टेस्ट के लिए ज़रूरी टोकन की सूची दिखाता है.

पब्लिक मेथड

getRequiredTokens

public Set<TokenProperty> getRequiredTokens (TestInformation testInfo)

टेस्ट के लिए ज़रूरी टोकन की सूची दिखाता है. अगर टोकन की सुविधा उपलब्ध नहीं है, तो यह null दिखाता है.

पैरामीटर
testInfo TestInformation

रिटर्न
Set<TokenProperty>

getRequiredTokens

public Set<TokenProperty> getRequiredTokens ()

टेस्ट के लिए ज़रूरी टोकन की सूची दिखाता है. अगर टोकन की सुविधा उपलब्ध नहीं है, तो यह null दिखाता है.

रिटर्न
Set<TokenProperty>