setup
fun setup(apiKey: String, endpoint: AmityEndpoint = AmityEndpoint.SG, dbEncryption: AmityDBEncryption = AmityDBEncryption.NONE): Completable
This method setup the SDK by overriding default endpoints
Parameters
api Key
an api key to be used with the SDK
endpoint
an endpoint model to override default endpoints