Settings exchange between REST SDK and SAP Mobile Server.
public Object getConfigProperty(String key) throws SMPException;
Returns a HashMap<String, String> of Key-Value pairs of Properties.
public HashMap<String,String> getConfigPropertyMap () throws SMPException
Sets the value(s) of updatable properties sent as HashMap of Key-Value pairs to be updated.
public void setConfigProperty(HashMap<String,String> list) throws SMPException
String RegistrationId = appSettings.getConfigProperty(“d:AndroidGcmRegistrationId");
HashMap<String,String> properties = appSettings.getConfigPropertyMap();
Example to set configuration property
HashMap<String,String> properties = new HashMap<String,String>(); properties.put("d:AndroidGcmRegistrationId", "1234565"); appSettings.setConfigProperty(properties);