# AndroidPlatformOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-android/struct-androidplatformoptions/

**struct** · [`ferroui-android`](/docs/0.5.0/api/ferroui-android/) · v0.5.0

```rust
struct AndroidPlatformOptions
```

The options of the Android platform, registered with the application
builder (`AppBuilder::with`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Android/FerroUI.Android/android_platform.rs#L21)

## Members

- [`rendering_mode`](#struct_field-rendering_mode)

<a id="struct_field-rendering_mode"></a>

### rendering_mode

```rust
rendering_mode: Vec<AndroidRenderingMode>
```

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

If the application should work on as wide a range of devices as
possible, at least add `AndroidRenderingMode::Software` as a
fallback value. The platform fails to initialize when no value was
matched.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Android/FerroUI.Android/android_platform.rs#L30)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Default`
- `ErasedDestructor`
- `IntoEither`

## Availability

Extracted for `aarch64-linux-android`, `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
