Skip to content
DocsTry Aspire
DocsTry

MauiAndroidDeviceResource Constructors

ClassConstructors1 member
A resource that represents an Android physical device for running a .NET MAUI application.
Constructor(string, MauiProjectResource)Section titled Constructor(string, MauiProjectResource)
A resource that represents an Android physical device for running a .NET MAUI application.
public sealed class MauiAndroidDeviceResource
{
public MauiAndroidDeviceResource(
string name,
MauiProjectResource parent)
{
// ...
}
}
namestringThe name of the Android device resource.
parentMauiProjectResourceThe parent MAUI project resource.