setConfigProperty(HashMap< String, String >) method

Set the value(s) of properties sent as hash map of key and value pairs.

Syntax

public void setConfigProperty (HashMap< String, String > list) throws SMPException

Exceptions

Example 1

try {
   AppSettings appSettings = new AppSettings(clientConnection);
   HashMap<String, String> property = new HashMap<String, String>();
   property.put("d:AndroidGcmRegistrationId", "1234565");
   appSettings.setConfigurationProperty(property);
} catch (SMPException e) {
   e.printStackTrace();
}