List of usage examples for com.amazonaws.services.devicefarm.model Radios setNfc
public void setNfc(Boolean nfc)
True if NFC is enabled at the beginning of the test; otherwise, false.
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);/*www .j a v a 2s . co m*/ radio.setNfc(ifNfc); radio.setWifi(ifWifi); } else { radio.setBluetooth(true); radio.setGps(true); radio.setNfc(true); radio.setWifi(true); } return radio; }