Class ConnectionState

java.lang.Object
io.appium.java_client.android.connection.ConnectionState

public class ConnectionState extends Object
  • Field Details

  • Constructor Details

    • ConnectionState

      public ConnectionState(long bitMask)
  • Method Details

    • getBitMask

      public long getBitMask()
    • isAirplaneModeEnabled

      public boolean isAirplaneModeEnabled()
      Is airplane mode enabled or not.
      Returns:
      true if airplane mode is enabled.
    • isWiFiEnabled

      public boolean isWiFiEnabled()
      Is Wi-Fi connection enabled or not.
      Returns:
      true if Wi-Fi connection is enabled.
    • isDataEnabled

      public boolean isDataEnabled()
      Is data connection enabled or not.
      Returns:
      true if data connection is enabled.