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 nameValueDescription
kindstringIdentifies this resource as a user license. Value: the fixed string chromewebstore#userLicense.
itemIdstringThe ID of the item to query for in-app products.
createdTimelongCreation time of license. Number of milliseconds.
resultbooleanTRUE = User has license. FALSE = User does not have license.
accessLevelstring

Acceptable values are:
  • "FREE_TRIAL":
  • "FULL":
maxAgeSecslongTime that results can be cached.

Methods

getUserLicense
Gets the licenses for Chrome Apps.

Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.