Exchanging Settings between Client and Server

Settings exchange between REST SDK and SAP Mobile Server.

getConfigPropertyMap method throws SMPException and sets the value(s) of modifiable properties sent as HashMap of Key-Value pairs to be updated. getConfigPropertyMap method returns all the properties key-value pair.

Syntax

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

Examples