to top
Datalogic APIs
public static final enum

EnterpriseBatterySaverActivationItems.ActivationItem.Type

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.configuration.EnterpriseBatterySaverActivationItems.ActivationItem.Type

Class Overview

An activation item is used to trigger a profile when a condition is met. The condition is dependent on the type, which can be one of the following (in decreasing order of priority):

  • Power source
  • Pocket mode
  • Battery level
  • Time interval
  • Connection
  • Always on
When multiple activation items are defined, they are evaluated with the priority of the order in the list above. The first one that matches the condition will be triggered.

Summary

Enum Values
EnterpriseBatterySaverActivationItems.ActivationItem.Type  ALWAYS_ON  The activation item is automatically triggered and represents the default state of the device. 
EnterpriseBatterySaverActivationItems.ActivationItem.Type  BATTERY_LEVEL  The activation item is triggered when the battery level is below or equal to the specified value. 
EnterpriseBatterySaverActivationItems.ActivationItem.Type  CONNECTION  The activation item is triggered when the device is connected to one of the connection types specified in the `FLAG_CONNECTED_XXX` mask. 
EnterpriseBatterySaverActivationItems.ActivationItem.Type  POCKET_MODE  The activation item is triggered when the pocket mode is in the state described by the `active` parameter. 
EnterpriseBatterySaverActivationItems.ActivationItem.Type  POWER_SOURCE  The activation item is triggered when the power source is one of the ones specified in the `FLAG_POWER_SOURCE_XXX` mask. 
EnterpriseBatterySaverActivationItems.ActivationItem.Type  TIME_INTERVAL  The activation item is triggered when the device is in a specific time interval. 
Public Methods
static EnterpriseBatterySaverActivationItems.ActivationItem.Type valueOf(String name)
final static Type[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final EnterpriseBatterySaverActivationItems.ActivationItem.Type ALWAYS_ON

Added in revision 44

The activation item is automatically triggered and represents the default state of the device.

public static final EnterpriseBatterySaverActivationItems.ActivationItem.Type BATTERY_LEVEL

Added in revision 44

The activation item is triggered when the battery level is below or equal to the specified value.

public static final EnterpriseBatterySaverActivationItems.ActivationItem.Type CONNECTION

Added in revision 44

The activation item is triggered when the device is connected to one of the connection types specified in the `FLAG_CONNECTED_XXX` mask.

public static final EnterpriseBatterySaverActivationItems.ActivationItem.Type POCKET_MODE

Added in revision 44

The activation item is triggered when the pocket mode is in the state described by the `active` parameter.

public static final EnterpriseBatterySaverActivationItems.ActivationItem.Type POWER_SOURCE

Added in revision 44

The activation item is triggered when the power source is one of the ones specified in the `FLAG_POWER_SOURCE_XXX` mask.

public static final EnterpriseBatterySaverActivationItems.ActivationItem.Type TIME_INTERVAL

Added in revision 44

The activation item is triggered when the device is in a specific time interval.

Public Methods

public static EnterpriseBatterySaverActivationItems.ActivationItem.Type valueOf (String name)

Added in revision 44

public static final Type[] values ()

Added in revision 44