java.lang.Object | |
↳ | com.google.firebase.perf.metrics.Trace |
Trace allows you to set beginning and end of a certain action in your app.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | A public static CREATOR field that implements the Parcelable.Creator interface, generates instances of your Parcelable class from a Parcel. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describes the kinds of special objects contained in this Parcelable's marshalled
representation.
| |||||||||||
Increments the counter in this trace with the given name by given value.
| |||||||||||
Increments the counter in this trace with the given name by one.
| |||||||||||
Starts this trace.
| |||||||||||
Stops this trace.
| |||||||||||
Flatten this object into a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
A public static CREATOR field that implements the Parcelable.Creator interface, generates instances of your Parcelable class from a Parcel. Please refer to https://developer.android.com/reference/android/os/Parcelable.html
Describes the kinds of special objects contained in this Parcelable's marshalled representation. Please refer to https://developer.android.com/reference/android/os/Parcelable.html
Returns | |
---|---|
int |
always returns 0. |
Increments the counter in this trace with the given name by given value. If a counter does not already exist, a new one will be created.
Parameters | |
---|---|
counterName |
String :
Name of the counter to be incremented. Requires no leading or trailing
whitespace, no leading underscore '_' character, max length is 32 characters. |
incrementBy |
long :
Amount by which the counter has to be incremented.
|
Increments the counter in this trace with the given name by one. If a counter does not already exist, a new one will be created.
Parameters | |
---|---|
counterName |
String :
Name of the counter to be incremented. Requires no leading or trailing
whitespace, no leading underscore '_' character, max length is 32 characters.
|
Starts this trace.
Stops this trace.
Flatten this object into a Parcel. Please refer to https://developer.android.com/reference/android/os/Parcelable.html
Parameters | |
---|---|
out |
Parcel :
the Parcel in which the object should be written. |
flags |
int :
always will be the value 0.
|