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.
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 java.lang.Exception
AWSConfiguration will be
constructed based on awsconfiguration.json file.context - Reference to the application context.java.lang.ExceptionAWSConfigurable initialize(android.content.Context context, AWSConfiguration configuration) throws java.lang.Exception
context - Reference to the application context.configuration - Instance of AWSConfigurationjava.lang.ExceptionAWSConfigurable initialize(android.content.Context context, AWSConfiguration configuration, ClientConfiguration clientConfiguration) throws java.lang.Exception
context - Reference to the application context.configuration - Instance of AWSConfigurationclientConfiguration - Instance of ClientConfigurationjava.lang.ExceptionCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.