Interface Info |
|---|
public interface ScreenStatus Screen status API. Four constants are defined for the screen status: SCREENOFF (indicating that the screen is off), SCREENON (indicating that the screen is on), UNLOCK (indicating that the screen is unlocked), and UNKNOWN (indicating that the screen status is unknown). |
Qualifier and Type |
Field and Description |
|---|---|
static int |
The screen is off. |
static int |
The screen is on. |
static int |
The screen is unlocked. |
static int |
The screen status cannot be identified. |
Field |
|---|
public static final int SCREEN_OFF The screen is off. For details, please refer to Constant-values. |
Field |
|---|
public static final int SCREEN_ON The screen is on. For details, please refer to Constant-values. |
Field |
|---|
public static final int UNLOCK The screen is unlocked. For details, please refer to Constant-values. |
Field |
|---|
public static final int UNKNOWN The screen status cannot be identified. For details, please refer to Constant-values. |