EsperConfigManager

public class EsperConfigManager extends AbstractManager<Service>

Properties

Link copied to clipboard
public final static String ERROR_GET_CONFIG
Error string returned when there is a failure in getting the config value from device
Link copied to clipboard
public final static String ERROR_INVALID_CONFIG
Error string returned when config name is invalid.
Link copied to clipboard
public final static String PERSIST_LOGS_PERIOD
Configuration name for specifying the no.
Link copied to clipboard
public final static String PERSIST_LOGS_TOGGLE
Configuration name to enable or disable to store the logs (all buffers including kernel).
Link copied to clipboard
public final static String USB_ALLOW_LIST
Configuration name for managing the list of allowed USB devices.
Link copied to clipboard
public final static String USB_ALLOW_LIST_TOGGLE
Configuration name for enabling or disabling the USB allow list feature.

Functions

Link copied to clipboard
Gets the value of a supported foundation configuration
Link copied to clipboard
public static EsperConfigManager getInstance(Context context)
Link copied to clipboard
Returns all the config names supported on the device.
Link copied to clipboard
public boolean isConfigSupported(String name)
Gets if the config supported by the device
Link copied to clipboard
public void setConfigValue(String name, String value)
Allows to set the value of a supported configuration