VirtualDevice class abstract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String?
-
Example: "iPad Air 2"
no setter
- name → String?
-
The humanized name of the device.
Implementers of VirtualDevice should generate the name in a way that increments
prior creations of the model and osVersion.
no setter
- os → OperatingSystem
-
no setter
- osVersion → String
-
Example: "14.2"
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → String?
-
A unique identifier used to communicate with the platform.
no setter
Methods
-
create(
) → Future< void> - Creates a new version of the device. uuid is usually assigned by the platform within this method.
-
createOrStart(
) → Future< void> - If the device already exists, start it instead of createing it. If all devices of the model, os, and osVersion type are already running, a new virtual device will be created and then started.
-
delete(
) → Future< void> - Permanently delete the device. For removing data only, see wipe.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< void> - Boots the device
-
stop(
) → Future< void> - Turns off the device
-
toString(
) → String -
A string representation of this object.
override
-
wipe(
) → Future< void> - Remove all data from the device. To permanently remove the device, see delete.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited