public interface AWSConfigurable
AWSConfigurable interface defines the methods
in the lifecycle of any SDK Client object that uses
AWSConfiguration.
Any SDK client that need to be configurable will
implement this interface by overriding these methods.
com.amazonaws.mobile.client.AWSMobileClient will
use these methods to control the creation and initialization of a SDK client.
| Modifier and Type | Method and Description |
|---|---|
AWSConfigurable |
initialize(android.content.Context context)
Initialize the SDK Client.
|
AWSConfigurable |
initialize(android.content.Context context,
AWSConfiguration configuration)
Initialize the SDK Client.
|
AWSConfigurable |
initialize(android.content.Context context,
AWSConfiguration configuration,
ClientConfiguration clientConfiguration)
Initialize the SDK Client.
|
AWSConfigurable initialize(android.content.Context context) throws Exception
AWSConfiguration will be
constructed based on awsconfiguration.json file.context - Reference to the application context.ExceptionAWSConfigurable initialize(android.content.Context context, AWSConfiguration configuration) throws Exception
context - Reference to the application context.configuration - Instance of AWSConfigurationExceptionAWSConfigurable initialize(android.content.Context context, AWSConfiguration configuration, ClientConfiguration clientConfiguration) throws Exception
context - Reference to the application context.configuration - Instance of AWSConfigurationclientConfiguration - Instance of ClientConfigurationExceptionCopyright © 2019. All rights reserved.