public class PerformanceEvent
extends Event
Generic Performance Event that can be used for performance measurements.
Customer measurements can be added to the bundle.
Bundle is expected to have following properties:
"attributes", "counters", and "metadata" with String values.
Attributes: a string representing an array of name/string value pair objects.
Counters: a string representing an array of name/number value pair objects.
Metadata is a string representation of a JsonObject with string values.
Here is an example of a Performance event bundle data:
"attributes": [{ "name": "style_id", "value": "mapbox://styles/mapbox/streets-v10"}]
"counters": [{"name": "fps_average", "value": 90.7655486547093},
{"name": "fps_deviation", "value": 29.301809631465574}]
“metadata”: {
“version”: “9”,
“screenSize”: “1080x1794”,
“country”: “US”,
“device”: “Pixel 2”,
“abi”: “arm64-v8a”,
“brand”: “google”,
“ram”: “3834167296”,
“os”: “android”,
“gpu”: “Qualcomm, Adreno (TM) 540, OpenGL ES 3.2 V@313.0 (GIT@7bf2852, Ie32bfa6f6f)“,
“manufacturer”: “Google”
}