Skip to main content

AndroidPlatformOptions Class

Definition​

Namespace:Avalonia
Assembly:Avalonia.Android
Package:Avalonia.Android
public class AndroidPlatformOptions

Inheritance: object -> AndroidPlatformOptions

Constructors​

NameDescription
AndroidPlatformOptionsNo summary available.

AndroidPlatformOptions Constructor​

public AndroidPlatformOptions()

Properties​

NameDescription
RenderingModeGets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: Avalonia.AndroidRenderingMode.Egl, Avalonia.AndroidRenderingMode.Software.

RenderingMode Property​

Gets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: Avalonia.AndroidRenderingMode.Egl, Avalonia.AndroidRenderingMode.Software.

public System.Collections.Generic.IReadOnlyList<Avalonia.AndroidRenderingMode> RenderingMode { get; set; }

Remarks​

If application should work on as wide range of devices as possible, at least add Avalonia.AndroidRenderingMode.Software as a fallback value.

Exceptions​