openSDKPortal
Open SDK Portal UI
Receiver
Return
true - launch SDK portal successfully
false - failed to launch SDK portal
Sample to handle closed event
RakutenReward.openSDKPortal(100)
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
if (requestCode == 100) {
// handle closed event
}
}
Since v4.0.0, User Consent feature is integrated into SDK.
If user have not provide consent yet, RakutenReward.requestForConsent API will be called to request for user's consent. Once user provided consent will proceed to open SDK Portal
Parameters
Request Code to handle SDK portal closed event in Activity.onActivityResult
Open SDK Portal UI
Receiver
Return
true - launch SDK portal successfully
false - failed to launch SDK portal
Sample to handle closed event
RakutenReward.openSDKPortal {
// handle closed event
}
Since
v3.4.2
Since v4.0.0, User Consent feature is integrated into SDK.
If user have not provide consent yet, RakutenReward.requestForConsent API will be called to request for user's consent. Once user provided consent will proceed to open SDK Portal
Parameters
ActivityResultCallback to be triggered when SDK portal is closed.