AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Radios

import "github.com/aws/aws-sdk-go/service/devicefarm"

type Radios struct { Bluetooth *bool `locationName:"bluetooth" type:"boolean"` Gps *bool `locationName:"gps" type:"boolean"` Nfc *bool `locationName:"nfc" type:"boolean"` Wifi *bool `locationName:"wifi" type:"boolean"` }

Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.

Bluetooth

Type: *bool

True if Bluetooth is enabled at the beginning of the test; otherwise, false.

Gps

Type: *bool

True if GPS is enabled at the beginning of the test; otherwise, false.

Nfc

Type: *bool

True if NFC is enabled at the beginning of the test; otherwise, false.

Wifi

Type: *bool

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

Method

GoString

func (s Radios) GoString() string

GoString returns the string representation

SetBluetooth

func (s *Radios) SetBluetooth(v bool) *Radios

SetBluetooth sets the Bluetooth field's value.

SetGps

func (s *Radios) SetGps(v bool) *Radios

SetGps sets the Gps field's value.

SetNfc

func (s *Radios) SetNfc(v bool) *Radios

SetNfc sets the Nfc field's value.

SetWifi

func (s *Radios) SetWifi(v bool) *Radios

SetWifi sets the Wifi field's value.

String

func (s Radios) String() string

String returns the string representation

On this page: