java.lang.Object
com.amazonaws.services.devicefarm.model.Radios
All Implemented Interfaces:
Serializable, Cloneable

public class Radios extends Object implements Serializable, Cloneable

Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    True if Bluetooth is enabled at the beginning of the test; otherwise, false.
    True if GPS is enabled at the beginning of the test; otherwise, false.
    True if NFC is enabled at the beginning of the test; otherwise, false.
    True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
    int
     
    True if Bluetooth is enabled at the beginning of the test; otherwise, false.
    True if GPS is enabled at the beginning of the test; otherwise, false.
    True if NFC is enabled at the beginning of the test; otherwise, false.
    True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
    void
    setBluetooth(Boolean bluetooth)
    True if Bluetooth is enabled at the beginning of the test; otherwise, false.
    void
    True if GPS is enabled at the beginning of the test; otherwise, false.
    void
    True if NFC is enabled at the beginning of the test; otherwise, false.
    void
    True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
    Returns a string representation of this object; useful for testing and debugging.
    True if Bluetooth is enabled at the beginning of the test; otherwise, false.
    True if GPS is enabled at the beginning of the test; otherwise, false.
    True if NFC is enabled at the beginning of the test; otherwise, false.
    True if Wi-Fi is enabled at the beginning of the test; otherwise, false.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Radios

      public Radios()
  • Method Details

    • setWifi

      public void setWifi(Boolean wifi)

      True if Wi-Fi is enabled at the beginning of the test; otherwise, false.

      Parameters:
      wifi - True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
    • getWifi

      public Boolean getWifi()

      True if Wi-Fi is enabled at the beginning of the test; otherwise, false.

      Returns:
      True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
    • withWifi

      public Radios withWifi(Boolean wifi)

      True if Wi-Fi is enabled at the beginning of the test; otherwise, false.

      Parameters:
      wifi - True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isWifi

      public Boolean isWifi()

      True if Wi-Fi is enabled at the beginning of the test; otherwise, false.

      Returns:
      True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
    • setBluetooth

      public void setBluetooth(Boolean bluetooth)

      True if Bluetooth is enabled at the beginning of the test; otherwise, false.

      Parameters:
      bluetooth - True if Bluetooth is enabled at the beginning of the test; otherwise, false.
    • getBluetooth

      public Boolean getBluetooth()

      True if Bluetooth is enabled at the beginning of the test; otherwise, false.

      Returns:
      True if Bluetooth is enabled at the beginning of the test; otherwise, false.
    • withBluetooth

      public Radios withBluetooth(Boolean bluetooth)

      True if Bluetooth is enabled at the beginning of the test; otherwise, false.

      Parameters:
      bluetooth - True if Bluetooth is enabled at the beginning of the test; otherwise, false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isBluetooth

      public Boolean isBluetooth()

      True if Bluetooth is enabled at the beginning of the test; otherwise, false.

      Returns:
      True if Bluetooth is enabled at the beginning of the test; otherwise, false.
    • setNfc

      public void setNfc(Boolean nfc)

      True if NFC is enabled at the beginning of the test; otherwise, false.

      Parameters:
      nfc - True if NFC is enabled at the beginning of the test; otherwise, false.
    • getNfc

      public Boolean getNfc()

      True if NFC is enabled at the beginning of the test; otherwise, false.

      Returns:
      True if NFC is enabled at the beginning of the test; otherwise, false.
    • withNfc

      public Radios withNfc(Boolean nfc)

      True if NFC is enabled at the beginning of the test; otherwise, false.

      Parameters:
      nfc - True if NFC is enabled at the beginning of the test; otherwise, false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isNfc

      public Boolean isNfc()

      True if NFC is enabled at the beginning of the test; otherwise, false.

      Returns:
      True if NFC is enabled at the beginning of the test; otherwise, false.
    • setGps

      public void setGps(Boolean gps)

      True if GPS is enabled at the beginning of the test; otherwise, false.

      Parameters:
      gps - True if GPS is enabled at the beginning of the test; otherwise, false.
    • getGps

      public Boolean getGps()

      True if GPS is enabled at the beginning of the test; otherwise, false.

      Returns:
      True if GPS is enabled at the beginning of the test; otherwise, false.
    • withGps

      public Radios withGps(Boolean gps)

      True if GPS is enabled at the beginning of the test; otherwise, false.

      Parameters:
      gps - True if GPS is enabled at the beginning of the test; otherwise, false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isGps

      public Boolean isGps()

      True if GPS is enabled at the beginning of the test; otherwise, false.

      Returns:
      True if GPS is enabled at the beginning of the test; otherwise, false.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Radios clone()
      Overrides:
      clone in class Object