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

getProfilePhoto

open fun getProfilePhoto(onSuccess: (profilePhoto: String) -> Unit, onError: (message: String) -> Unit): Unit

Get profile photo url from host app. You can also throw an Exception from this method to pass an error message to the mini app.