to top
Datalogic APIs
public class

EnterpriseBatterySaverProfiles

extends SerializableBlob
java.lang.Object
   ↳ com.datalogic.device.configuration.SerializableBlob
     ↳ com.datalogic.device.configuration.EnterpriseBatterySaverProfiles

Class Overview

EnterpriseBatterySaverProfiles implements the BlobProperty that allows to manage the profiles for the Enterprise Battery Saver.
The class is managed by the ConfigurationManager Blob Property POWER_ENTERPRISE_BATTERY_SAVER_PROFILES.

Summary

Nested Classes
class EnterpriseBatterySaverProfiles.Builder Builder for the EnterpriseBatterySaverProfiles. 
class EnterpriseBatterySaverProfiles.Profile The profile class. 
Public Constructors
EnterpriseBatterySaverProfiles()
Public Methods
void add(EnterpriseBatterySaverProfiles.Profile profile)
Add a profile to the list.
List<EnterpriseBatterySaverProfiles.Profile> getProfiles()
Get the list of currently configured profiles.
void remove(EnterpriseBatterySaverProfiles.Profile profile)
Remove a profile from the list, whose name is the same as the one passed as parameter.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.SerializableBlob
From class java.lang.Object

Public Constructors

public EnterpriseBatterySaverProfiles ()

Added in revision 44

Public Methods

public void add (EnterpriseBatterySaverProfiles.Profile profile)

Added in revision 44

Add a profile to the list. If a profile with the same name already exists, it will be replaced.

Parameters
profile The profile to add.
Throws
IllegalArgumentException if the profile is null.

public List<EnterpriseBatterySaverProfiles.Profile> getProfiles ()

Added in revision 44

Get the list of currently configured profiles.

public void remove (EnterpriseBatterySaverProfiles.Profile profile)

Added in revision 44

Remove a profile from the list, whose name is the same as the one passed as parameter.

Parameters
profile The profile to remove.
Throws
IllegalArgumentException if the profile is null.