miniapp / com.rakuten.tech.mobile.miniapp.js.userinfo / UserInfoBridgeDispatcher / getUserName

getUserName

open fun getUserName(onSuccess: (userName: String) -> Unit, onError: (message: String) -> Unit): Unit

Get user name from host app. You can also throw an Exception from this method to pass an error message to the mini app.