onCheckPremium

abstract fun onCheckPremium(state: Premium.State)

Informs if the user has premium rights to the app. It's invoked after calling checkPremium function of Premium.Controller. The reported state is the one obtained directly from the billing client, and in the event that it is not possible to obtain that value, the value of the preferences is reported.