present

fun present(context: Context)

Presents an Offer to the user and allows them to accept or decline it, which can result in a new LicenseRecordbeing created based on the presented Offer.

If the Offer has already been accepted by the user, this method does nothing.

Parameters

context

Throws

if the SDK is not initialized or if no Offer was created.