MobileLab Class
The Mobile Center lab, where users, applications, and devices are managed.
C# Syntax
public static class MobileLab 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.Mobile.MobileLab

Public Properties
  Name Description
Public Property static (Shared in Visual Basic) MobileCenterAddress Returns the URI of the Mobile Center as defined in the LFTRuntime configuration, or null if it is not defined.  
Public Property static (Shared in Visual Basic) MobileCenterUserName Returns the user name of the Mobile Center as defined in the LFTRuntime configuration, or null if it is not defined.  
Top
Public Methods
  Name Description
Public Method static (Shared in Visual Basic) GetDeviceList Returns information (a list of IDeviceInfo interfaces) about all the devices in Mobile Center.  
Public Method static (Shared in Visual Basic) LockDevice Overloaded. Obtains a device from the Mobile Center lab and locks it, so that only the current LeanFT test can perform actions on it.  
Public Method static (Shared in Visual Basic) LockDeviceById Obtains a device from the Mobile Center lab by deviceID and locks it, so that only the current LeanFT test can perform actions on it.  
Public Method static (Shared in Visual Basic) LockDeviceByInfo Obtains a device from the Mobile Center lab by device information and locks it, so that only the current LeanFT test can perform actions on it.  
Public Method static (Shared in Visual Basic) LockDeviceByName Obtains a device from the Mobile Center lab by device name and locks it, so that only the current LeanFT test can perform actions on it.  
Public Method static (Shared in Visual Basic) TryLockDeviceByInfo Checks whether a device is available in the Mobile Center lab and, if so, locks it so that only the current LeanFT test can perform actions on it.  
Top