//inappmessaging/com.rakuten.tech.mobile.inappmessaging.runtime/InAppMessaging/Companion
Companion
[androidJvm]
object Companion
Functions
Name | Summary |
---|---|
configure | [androidJvm] @JvmOverloads fun configure(context: Context, subscriptionKey: String? = null, configUrl: String? = null): Boolean Configures the In-App Messaging SDK. |
instance | [androidJvm] @JvmStatic fun instance(): InAppMessaging Instance of InAppMessaging. |
Properties
Name | Summary |
---|---|
errorCallback | [androidJvm] var errorCallback: (Exception) -> Unit? = null This optional callback function is for app to receive the exception that caused failed configuration or non-fatal failures in the SDK. |
PUSH_PRIMER_REQ_CODE | [androidJvm] const val PUSH_PRIMER_REQ_CODE: Int = 999 This is the request code that will be used when requesting push permission. |