Interface IMobileDevice

  • All Known Subinterfaces:
    IAndroidDevice

    public interface IMobileDevice
    Represents the mobile device for some mobile OS.

    This interface is intended to be implemented by clients with some OS-specific underlying device.

    Typical implementation wraps some mobile OS-specific device handle, that can be later used for the launching operation (mobile and application) and returns some UI-representable properties.

    See Also:
    IMobileOs, IMobileApplicationLauncher, IMobileDeviceManagerDelegate, MobileDevices
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Returns a name of the mobile device.
      IMobileOs getOs()
      Returns the mobile OS, this device is created with.
      boolean isEmulator()
      Returns whether this mobile device is an emulator (or a simulator) of the real device with mobile OS.
    • Method Detail

      • getName

        String getName()
        Returns a name of the mobile device. Will be used for UI presentation of the mobile device.

        Typical implementation returns underlying device or emulator name.

        Returns:
        a name of the mobile device, never null
      • isEmulator

        boolean isEmulator()
        Returns whether this mobile device is an emulator (or a simulator) of the real device with mobile OS.
        Returns:
        whether this mobile device is an emulator (or a simulator)
      • getOs

        IMobileOs getOs()
        Returns the mobile OS, this device is created with.
        Returns:
        the mobile OS, this device is created with, never null