Struct aws_sdk_devicefarm::model::Device
source · #[non_exhaustive]pub struct Device { /* private fields */ }Expand description
Represents a device type that an app is tested against.
Implementations§
source§impl Device
impl Device
sourcepub fn manufacturer(&self) -> Option<&str>
pub fn manufacturer(&self) -> Option<&str>
The device's manufacturer name.
sourcepub fn form_factor(&self) -> Option<&DeviceFormFactor>
pub fn form_factor(&self) -> Option<&DeviceFormFactor>
The device's form factor.
Allowed values include:
-
PHONE
-
TABLET
sourcepub fn platform(&self) -> Option<&DevicePlatform>
pub fn platform(&self) -> Option<&DevicePlatform>
The device's platform.
Allowed values include:
-
ANDROID
-
IOS
sourcepub fn resolution(&self) -> Option<&Resolution>
pub fn resolution(&self) -> Option<&Resolution>
The resolution of the device.
sourcepub fn remote_access_enabled(&self) -> Option<bool>
pub fn remote_access_enabled(&self) -> Option<bool>
Specifies whether remote access has been enabled for the specified device.
sourcepub fn remote_debug_enabled(&self) -> Option<bool>
pub fn remote_debug_enabled(&self) -> Option<bool>
This flag is set to true if remote debugging is enabled for the device.
Remote debugging is no longer supported.
sourcepub fn fleet_type(&self) -> Option<&str>
pub fn fleet_type(&self) -> Option<&str>
The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
sourcepub fn fleet_name(&self) -> Option<&str>
pub fn fleet_name(&self) -> Option<&str>
The name of the fleet to which this device belongs.
sourcepub fn instances(&self) -> Option<&[DeviceInstance]>
pub fn instances(&self) -> Option<&[DeviceInstance]>
The instances that belong to this device.
sourcepub fn availability(&self) -> Option<&DeviceAvailability>
pub fn availability(&self) -> Option<&DeviceAvailability>
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.