Screen power mode types

Types of power modes.

Synopsis:

#include <screen/screen.h>
 
enum {
      SCREEN_POWER_MODE_OFF = 0x7680   
      SCREEN_POWER_MODE_SUSPEND = 0x7681   
      SCREEN_POWER_MODE_LIMITED_USE = 0x7682   
      SCREEN_POWER_MODE_ON = 0x7683   
};

Since:

BlackBerry 10.0.0

Data:

SCREEN_POWER_MODE_OFF
The power mode in an inactive state.
SCREEN_POWER_MODE_SUSPEND
The power mode in a state of being partially off; the display or device is no longer active.

The power usage in this state can be greater than in SCREEN_POWER_MODE_OFF, but will allow for a faster transition to active state.

SCREEN_POWER_MODE_LIMITED_USE
The power mode in a state of reduced power; the display or device is active, but may be slower to update than if it was in SCREEN_POWER_MODE_ON.
SCREEN_POWER_MODE_ON
The power mode in an active state.

Library:

libscreen (For the qcc command, use the -l screen option to link against this library)

Description:

This enumeration is used when setting the SCREEN_PROPERTY_POWER_MODE property.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus