All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.selendroid.HasAirplaneMode Maven / Gradle / Ivy

There is a newer version: 0.17.0
Show newest version
package io.selendroid;

/**
 * Setting the Airplane mode (aka no network connectivity)
 */
public interface HasAirplaneMode {

    /**
     * @return true if airplane mode is currently enabled
     */
    public boolean isAirplaneModeEnabled();

    /**
     * set the device's airplane mode
     * @param enabled - true to enable airplane mode (disable network connectivity)
     */
    public void setAirplaneMode(boolean enabled);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy