AmityCoreClient

Functions

Link copied to clipboard
fun disconnect(): Completable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getConfiguration(): AmityClientConfiguration
Link copied to clipboard
Link copied to clipboard
fun getCurrentSessionState(): SessionState
Link copied to clipboard
fun getCurrentUser(): Flowable<AmityUser>
Link copied to clipboard
Link copied to clipboard
fun getTotalUnreadCount(): Flowable<Int>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun logout(): Completable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun observeSessionState(): Flowable<SessionState>
Link copied to clipboard
fun observeUserUnread(): Flowable<UserUnread>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun registerPushNotification(): Completable
Link copied to clipboard
fun secureLogout(): Completable
Link copied to clipboard
fun setup(apiKey: String, endpoint: AmityEndpoint = AmityEndpoint.SG, dbEncryption: AmityDBEncryption = AmityDBEncryption.NONE): Completable

This method setup the SDK by overriding default endpoints

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun unregisterPushNotification(): Completable
Link copied to clipboard
Link copied to clipboard
fun validateTexts(texts: List<String>): Completable
Link copied to clipboard
fun validateUrls(urls: List<String>): Completable