V2 LicenseCheckerListener

public interface LicenseCheckerListener
com.onestore.extern.licensing.LicenseCheckerListener

Listener for processing results of the license information verification.

Public methods


granted

void granted(String license, String signature)

Called when an application license from the ONE store server is received.

Parameters:

license

App license data

signature

Signature of app license data signed with the developer’s private key

denied

void denied()

Called when purchase data from the ONE store server cannot be found.

error

void error(int errorCode, String error)

Called when the license query fails.

Parameters:

errorCode

Error code (refer to ResponseCode)

error

Error message

Last updated