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

io.appium.java_client.android.HasNetworkConnection Maven / Gradle / Ivy

There is a newer version: 9.3.0
Show newest version
package io.appium.java_client.android;

import io.appium.java_client.NetworkConnectionSetting;

public interface HasNetworkConnection {

	/**
	 * Get the current network settings of the device.
	 * 
	 * @return NetworkConnectionSetting objects will let you inspect the status
	 *         of AirplaneMode, Wifi, Data connections
	 */
	public NetworkConnectionSetting getNetworkConnection();

	/**
	 * Set the network connection of the device. This is an Android-only method
	 * 
	 * @param connection
	 *            The NetworkConnectionSetting configuration to use for the
	 *            device
	 */
	public void setNetworkConnection(NetworkConnectionSetting connection);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy