public final class ConfigurationController
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationController.CompletionListener
The completion listener used by
IConfigurationController#getConfigurationParameters(String, String, CompletionListener) . |
Constructor and Description |
---|
ConfigurationController(android.content.Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
getConfigurationParameters(android.content.Context context,
java.lang.String applicationID,
java.lang.String version,
ConfigurationController.CompletionListener listener)
Displays a dialog for the user to enter the email address then retrieves configuration parameters from Mobile Place server asynchronously.
|
void |
getConfigurationParameters(java.lang.String email,
java.lang.String applicationID,
java.lang.String version,
ConfigurationController.CompletionListener listener)
Retrieves configuration parameters from Mobile Place Server for the given email address asynchronously.
|
public ConfigurationController(android.content.Context ctx)
public void getConfigurationParameters(java.lang.String email, java.lang.String applicationID, java.lang.String version, ConfigurationController.CompletionListener listener)
email
- the email address to get configuration for, must be not nullapplicationID
- the applicationID, should uniquely identify the application, by using bundleId + version, must be not nullversion
- client versionlistener
- the listener to invoke on completion, must be non-nullpublic void getConfigurationParameters(android.content.Context context, java.lang.String applicationID, java.lang.String version, ConfigurationController.CompletionListener listener)
context
- A context object, must be non-nullapplicationID
- the applicationID, should uniquely identify the application, by using bundleId + version, must be not nullversion
- client versionlistener
- the listener to invoke on completion, must be non-null