getConfigProperty(String) method

Return the value of the property for the provided key.

Syntax

public Object getConfigProperty ( String key ) throws SMPException

Parameters

Exceptions

Example 1

try {
   AppSettings appSettings = new AppSettings(clientConnection);
   String property = (String) appSettings
           .getConfigProperty("d:AndroidGcmRegistrationId");
} catch (SMPException e) {
   e.printStackTrace();
}