Device class
Represents a device type that an app is tested against.
Constructors
-
Device.new({String? arn, DeviceAvailability? availability, String? carrier, CPU? cpu, String? fleetName, String? fleetType, DeviceFormFactor? formFactor, int? heapSize, String? image, List<
DeviceInstance> ? instances, String? manufacturer, int? memory, String? model, String? modelId, String? name, String? os, DevicePlatform? platform, String? radio, bool? remoteAccessEnabled, bool? remoteDebugEnabled, Resolution? resolution}) -
Device.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
The device's ARN.
final
- availability → DeviceAvailability?
-
Indicates how likely a device is available for a test run. Currently
available in the ListDevices and GetDevice API methods.
final
- carrier → String?
-
The device's carrier.
final
- cpu → CPU?
-
Information about the device's CPU.
final
- fleetName → String?
-
The name of the fleet to which this device belongs.
final
- fleetType → String?
-
The type of fleet to which this device belongs. Possible values are PRIVATE
and PUBLIC.
final
- formFactor → DeviceFormFactor?
-
The device's form factor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heapSize → int?
-
The device's heap size, expressed in bytes.
final
- image → String?
-
The device's image name.
final
-
instances
→ List<
DeviceInstance> ? -
The instances that belong to this device.
final
- manufacturer → String?
-
The device's manufacturer name.
final
- memory → int?
-
The device's total memory size, expressed in bytes.
final
- model → String?
-
The device's model name.
final
- modelId → String?
-
The device's model ID.
final
- name → String?
-
The device's display name.
final
- os → String?
-
The device's operating system type.
final
- platform → DevicePlatform?
-
The device's platform.
final
- radio → String?
-
The device's radio.
final
- remoteAccessEnabled → bool?
-
Specifies whether remote access has been enabled for the specified device.
final
- remoteDebugEnabled → bool?
-
This flag is set to
true
if remote debugging is enabled for the device.final - resolution → Resolution?
-
The resolution of the device.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited