sfdk-emulator-device-model-list
List available device models for emulation
TLDR
View documentation for sfdk emulator device-model-show
SYNOPSIS
sfdk-emulator-device-model-list [OPTIONS]
PARAMETERS
--help
Displays a help message and exits.
--version
Shows version information and exits.
DESCRIPTION
The sfdk-emulator-device-model-list command is a utility provided as part of the Sailfish OS SDK. Its primary purpose is to display a list of all available device models that can be used to create new emulator instances. For developers working with Sailfish OS, this command is crucial for identifying which device profiles (e.g., different screen resolutions, hardware configurations) are supported for emulation.
The output typically consists of a simple list of model identifiers, which can then be used as an argument for other SDK commands, such as sfdk emulator create, to specify the target device for a new emulator. This command helps streamline the development workflow by ensuring developers can easily discover and select the correct device model for testing their applications in an emulated environment.
CAVEATS
This command is part of the Sailfish OS SDK and requires the SDK to be installed and correctly configured on the system. It may not be available or function as expected if the SDK is not present or if its environment variables are not properly set. The exact list of device models depends on the SDK version and any installed updates or extensions. Its output is generally intended for programmatic use or direct input into other SDK commands, rather than extensive human-readable formatting.
<B>OUTPUT FORMAT</B>
The command typically outputs a simple list of device model identifiers, one per line. For example:
Jolla_1
Jolla_C
Xperia_X
These identifiers correspond to specific device profiles available for emulation within the Sailfish OS SDK.
<B>TYPICAL USAGE</B>
Developers usually run this command to find the correct device model string needed when creating a new emulator instance, for example:
$ sfdk-emulator-device-model-list
Jolla_1
Xperia_X
$ sfdk emulator create --name myemulator --device Xperia_X