Observer interface for entitlement check results. More...
The result of a BlackBerry Dynamics entitlement check is handled by creating a class that implements this interface.
For details of the BlackBerry Dynamics entitlement check programming interface, see the GDAndroid.getEntitlementVersions reference documentation.
Public Member Functions | |
| void | onReceivedEntitlementVersions (int requestId, int status, List< GDVersion > versions) |
| Entitlement check results callback. More... | |
| void onReceivedEntitlementVersions | ( | int | requestId, |
| int | status, | ||
| List< GDVersion > | versions | ||
| ) |
This callback will be invoked when the results of an entitlement check are ready or when an error has occurred.
| requestId | int value that identifies the check. The same value will have been returned to the original call to getEntitlementVersions. |
| status | int value indicating the status of the check:
|
| versions | List of GDVersion objects, each representing an entitlement version. If the end user does not have the entitlement for which a check was made then this list will have zero elements. |