Skip to content

DeviceSettingsRequest Android only

class DeviceSettingsRequest

Returned by a DeviceSettings request — describes which settings screen to show and whether the user has already been prompted.

Contains device metadata (manufacturer, model, version) and a seen flag so you can avoid showing the same screen repeatedly. Pass this object to DeviceSettings.show to redirect the user.


Members

action

String action

The Android Intent action used to open the target settings screen.

Warning

This field is set automatically by the native layer. Do not set it manually.

lastSeenAt

DateTime? lastSeenAt

Timestamp of the last time this screen was shown to the user.

manufacturer

String manufacturer

Device manufacturer (e.g. "Huawei", "Samsung").

model

String model

Device model name (e.g. "P40", "SM-G991B").

seen

bool seen

true if this settings screen has already been shown to the user on this device. Use this to avoid showing the same prompt repeatedly.

version

String version

Android OS version string.