MauiProjectResource.AddAndroidEmulator
Method
type MauiProjectResource interface { // ... omitted for brevity AddAndroidEmulator( name string, options ...*AddAndroidEmulatorOptions, ) MauiAndroidEmulatorResource}Signature
method
AddAndroidEmulator builderAdds an Android emulator resource to run the MAUI application on an Android emulator with a specific name.
AddAndroidEmulator( name string, options ...*AddAndroidEmulatorOptions,) MauiAndroidEmulatorResourceParameters
namestringThe name of the Android emulator resource.options...*AddAndroidEmulatorOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddAndroidEmulatorOptions argument.
EmulatorId *stringOptional emulator ID to target a specific Android emulator. If not specified, uses the currently running emulator or starts the default emulator.Returns
MauiAndroidEmulatorResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: