miniapp / com.rakuten.tech.mobile.miniapp.js / MiniAppMessageBridge / getHostEnvironmentInfo
getHostEnvironmentInfo
open fun getHostEnvironmentInfo(onSuccess: (info:
HostEnvironmentInfo
) ->
Unit
, onError: (infoError:
HostEnvironmentInfoError
) ->
Unit
):
Unit
Get environment info from host app. You can also throw an Exception from this method to pass an error message to the mini app.