android-sdk (1.4.3) / com.techcentrix.sdk / TechCentrixSDK

TechCentrixSDK

object TechCentrixSDK

TechCentrix SDK lets you manage and share LED Displays.

Functions

Name Summary
handlePushMessage Handles RemoteMessage received in FirebaseMessagingService.fun handlePushMessage(context: Context, message: RemoteMessage): Unit
isSignedIn Returns true if a user is signed in.fun isSignedIn(): Boolean
isTechCentrixPushMessage Returns true if RemoteMessage received in FirebaseMessagingService should be handled by TechCentrix SDK.fun isTechCentrixPushMessage(message: RemoteMessage): Boolean
setLoggingEnabled Toggle whether logging is enabled.fun setLoggingEnabled(enabled: Boolean): Unit
signIn Signs in/up a user with the given oneTimeToken.suspend fun signIn(oneTimeToken: String): Boolean
signInAsync Signs in/up a user asynchronously with the given oneTimeToken.fun signInAsync(oneTimeToken: String, listener: FutureListener<Boolean>? = null): Future<Boolean>
signOut Signs out the current signed-in user.suspend fun signOut(): Unit
signOutAsync Signs out the current signed-in user asynchronously.fun signOutAsync(listener: FutureListener<Void?>? = null): Future<Void?>