on Accept
Sets the callback function for when an offer is accepted.
This method sets the onAccept event handler, which is triggered when the user accepts a licensing offer.
Parameters
on Accept
: The closure to be executed when an offer is declined. The closure takes two arguments: the Offer that was accepted, and the LicenseRecord object containing the license information for the accepted offer.