- java.lang.Object
-
- com.gluonhq.cloudlink.client.usage.UsageClient
-
public class UsageClient extends Object
The UsageClient handles sending usage information about the the application to the Gluon CloudLink Usage Analytics service. The information that is being sent never contains personal information. Only generic details about the device like the platform, the version of the platform, information about the application, etc. will be provided to Gluon CloudLink.
Note: The UsageClient will gather information about the device by making use of the
DeviceService
Please make sure that the device plugin has been enabled in your Gluon Mobile application build configuration:<dependency> <groupId>com.gluonhq.attach</groupId> <artifactId>device</artifactId> <version>${attach.version}</version> </dependency> ... <plugin> <groupId>com.gluonhq</groupId> <artifactId>client-maven-plugin</artifactId> <version>${client.plugin.version}</version> <configuration> <attachList> <list>device</list> </attachList> </configuration> </plugin>
-
-
Constructor Summary
Constructors Constructor Description UsageClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enable()
Enable the UsageClient for this Gluon Mobile application.
-