PowerManagerInfo

Android Only

The interface that represents the information returned from getPowerManagerInfo().


View the Background Restrictions documentation to learn more.

Properties

activity

The activity that the user will be navigated to if openPowerManagerSettings() is called.

activity?: string | null;

Use this as an indicator of what steps the user may have to perform, in-order to prevent your app from being killed.

If no activity can be found, value will be null.

manufacturer

The device manufacturer.

manufacturer?: undefined | string;

For example, Samsung.

model

The device model.

model?: undefined | string;

For example, Galaxy S8

version

The Android version

version?: undefined | string;

For example, Android 10


Copyright 2020 © Invertase Limited

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.