miniapp / com.rakuten.tech.mobile.miniapp.js / MiniAppMessageBridge / getUniqueId

getUniqueId

open fun ~~getUniqueId~~(): String Deprecated: This function has been deprecated.

Get provided id of mini app for any purpose. You can also throw an Exception from this method to pass an error message to the mini app.

open fun getUniqueId(onSuccess: (uniqueId: String) -> Unit, onError: (message: String) -> Unit): Unit

Get provided id of mini app for any purpose.