Example usage for com.amazonaws.services.devicefarm.model Radios setWifi

List of usage examples for com.amazonaws.services.devicefarm.model Radios setWifi

Introduction

In this page you can find the example usage for com.amazonaws.services.devicefarm.model Radios setWifi.

Prototype


public void setWifi(Boolean wifi) 

Source Link

Document

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

Usage

From source file:org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarmRecorder.java

License:Open Source License

private Radios getScheduleRunConfigurationRadio(Boolean radioDetails) {
    Radios radio = new Radios();
    if (radioDetails != null && radioDetails) {
        radio.setBluetooth(ifBluetooth);
        radio.setGps(ifGPS);/*from   w  ww . j  a v a  2  s  .  c  o  m*/
        radio.setNfc(ifNfc);
        radio.setWifi(ifWifi);
    } else {
        radio.setBluetooth(true);
        radio.setGps(true);
        radio.setNfc(true);
        radio.setWifi(true);
    }
    return radio;

}