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

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

Introduction

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

Prototype


public void setNfc(Boolean nfc) 

Source Link

Document

True if NFC 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);/*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;

}