UserInfo¶
-
public class
UserInfo
¶ Represents information about the current user.
Constructors¶
Methods¶
addOfflineActivationResponse¶
-
public io.cocotec.coco.platform.coco.LicenseResponse
addOfflineActivationResponse
(String token)¶ Installs the token as a local license If the installation fails, an error message will be returned in the response data string
crashReportingConsent¶
-
public boolean
crashReportingConsent
()¶ Returns the status of the user’s crash reporting status.
forceRefresh¶
getOfflineActivationUrl¶
-
public io.cocotec.coco.platform.coco.LicenseResponse
getOfflineActivationUrl
()¶ Retrieves a URL which can be used to obtain a license for this machine. If successful, the response data string will contain the URL. If this call fails, the response data string will contain an error message.
hasLicense¶
-
public io.cocotec.coco.platform.coco.LicenseResponse
hasLicense
(java.util.ArrayList<io.cocotec.coco.platform.ProductFeature> features)¶ Ensures that this user has a license to use the given features.