java.lang.Object | ||
↳ | com.google.android.gms.analytics.HitBuilders.HitBuilder<T extends com.google.android.gms.analytics.HitBuilders.HitBuilder> | |
↳ | com.google.android.gms.analytics.HitBuilders.TimingBuilder |
Hit builder used to collect timing related data. For example, this hit type can be useful to measure resource load times. For meaningful data, at least the category and the value should be set before sending the hit.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience constructor for creating a timing hit.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||||||||||||||||||||
![]() |
Convenience constructor for creating a timing hit. Additional fields can be specified using the setter methods.
category | The type of variable being measured. Example: AssetLoader |
---|---|
variable | The variable being measured. Example: AssetLoader.load |
value | The value associated with the variable. Example: 1000 |
value | A timing value, in milliseconds. |
---|