Web Store API:UserLicenses
A UserLicences
resource represents a license purchased
by the user for Chrome App or Chrome Extension.
UserLicenses representation
JSON
{ "kind": "chromewebstore#userLicense", "itemId": string, "createdTime": long, "result": boolean, "accessLevel": string, "maxAgeSecs": long }
Property name | Value | Description |
---|---|---|
kind |
string |
Identifies this resource as a user license.
Value: the fixed string chromewebstore#userLicense .
|
itemId |
string |
The ID of the item to query for in-app products. |
createdTime |
long |
Creation time of license. Number of milliseconds. |
result |
boolean |
TRUE = User has license.
FALSE = User does not have license. |
accessLevel |
string |
Acceptable values are:
|
maxAgeSecs |
long |
Time that results can be cached. |
Methods
- getUserLicense
- Gets the licenses for Chrome Apps.