Package com.mitac.api.libs
Class MitacIntent
- java.lang.Object
-
- com.mitac.api.libs.MitacIntent
-
public class MitacIntent extends java.lang.Object
This class provides MiTAC specific intents.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_BATTERY_COVER_STATUS_CHANGED
Broadcast Action: This intent action will be broadcast when open or close battery cover isEXTRA_BATTERY_COVER_STATUS
containing the string value to indicate cover's statusstatic java.lang.String
ACTION_CRADLE_ACC_OFF
Broadcast Action: This intent action will be broadcast when cradle input power source is off i.e.static java.lang.String
ACTION_LMH_HIGHTEMP_STATUS_CHANGED
Broadcast Action: This intent action will be broadcast when enable or disable CPU LMHEXTRA_BATTERY_COVER_STATUS
containing the string value to indicate LMH statusstatic java.lang.String
ACTION_LOG_FILES_READY
Broadcast Action: This intent action will be broadcast when log files package readyEXTRA_PACK_OK
containing the boolean value to indicate if packages are OKEXTRA_LOG_FILES_PATH
containing the string value to indicate the log packages pathstatic java.lang.String
EXTRA_BATTERY_COVER_STATUS
Used as an string extra field inACTION_BATTERY_COVER_STATUS_CHANGED
intents to indicate that current battery cover's status.static java.lang.String
EXTRA_LMH_HIGHTEMP_STATUS
Broadcast Action: This intent action indicate that CPU LMH high temp status.static java.lang.String
EXTRA_LOG_FILES_PATH
Used as an string extra field inACTION_LOG_FILES_READY
A string value which contains the zip file's path or error stringstatic java.lang.String
EXTRA_PACK_OK
Used as an string extra field inACTION_LOG_FILES_READY
An boolean value to indicate the status of previous request.
-
Constructor Summary
Constructors Constructor Description MitacIntent()
-
-
-
Field Detail
-
ACTION_CRADLE_ACC_OFF
public static final java.lang.String ACTION_CRADLE_ACC_OFF
Broadcast Action: This intent action will be broadcast when cradle input power source is off i.e. power status from 12V to 5VNote: it might takes some time to get this event happen due to the the status is updated with battery status cycle.
This is a protected intent that can only be sent by the system.
- See Also:
- Constant Field Values
-
EXTRA_BATTERY_COVER_STATUS
public static final java.lang.String EXTRA_BATTERY_COVER_STATUS
Used as an string extra field inACTION_BATTERY_COVER_STATUS_CHANGED
intents to indicate that current battery cover's status.- 0: cover is opened
- 1: cover is closed
- other value: something is wrong
- See Also:
- Constant Field Values
-
ACTION_BATTERY_COVER_STATUS_CHANGED
public static final java.lang.String ACTION_BATTERY_COVER_STATUS_CHANGED
Broadcast Action: This intent action will be broadcast when open or close battery cover is-
EXTRA_BATTERY_COVER_STATUS
containing the string value to indicate cover's status
This is a protected intent that can only be sent by the system.
- See Also:
- Constant Field Values
-
-
EXTRA_PACK_OK
public static final java.lang.String EXTRA_PACK_OK
Used as an string extra field inACTION_LOG_FILES_READY
An boolean value to indicate the status of previous request.- See Also:
- Constant Field Values
-
EXTRA_LOG_FILES_PATH
public static final java.lang.String EXTRA_LOG_FILES_PATH
Used as an string extra field inACTION_LOG_FILES_READY
A string value which contains the zip file's path or error string- See Also:
- Constant Field Values
-
ACTION_LOG_FILES_READY
public static final java.lang.String ACTION_LOG_FILES_READY
Broadcast Action: This intent action will be broadcast when log files package ready-
EXTRA_PACK_OK
containing the boolean value to indicate if packages are OK
-
EXTRA_LOG_FILES_PATH
containing the string value to indicate the log packages path
This is a protected intent that can only be sent by the system.
- See Also:
- Constant Field Values
-
-
EXTRA_LMH_HIGHTEMP_STATUS
public static final java.lang.String EXTRA_LMH_HIGHTEMP_STATUS
Broadcast Action: This intent action indicate that CPU LMH high temp status.- 0: LMH is disable
- 1: LMH is enable
- other value: something is wrong
- See Also:
- Constant Field Values
-
ACTION_LMH_HIGHTEMP_STATUS_CHANGED
public static final java.lang.String ACTION_LMH_HIGHTEMP_STATUS_CHANGED
Broadcast Action: This intent action will be broadcast when enable or disable CPU LMH-
EXTRA_BATTERY_COVER_STATUS
containing the string value to indicate LMH status
This is a protected intent that can only be sent by the system.
- See Also:
- Constant Field Values
-
-
-