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.Exception
AWSConfigurable initialize(android.content.Context context, AWSConfiguration configuration) throws java.lang.Exception
context
- Reference to the application context.configuration
- Instance of AWSConfiguration
java.lang.Exception
AWSConfigurable initialize(android.content.Context context, AWSConfiguration configuration, ClientConfiguration clientConfiguration) throws java.lang.Exception
context
- Reference to the application context.configuration
- Instance of AWSConfiguration
clientConfiguration
- Instance of ClientConfiguration
java.lang.Exception
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.