The state of the client, including pageHeight and pageWidth.
Supported frameworks | Android, iOS, Tealeaf UI Capture |
Path | <global>.<session>.<message>.clientState |
Description | The state of the client, including pageHeight and pageWidth. |
Value | Object. Refer to individual property descriptions for details. |
Limitations | The clientState object is present only in Client State message types (<global>.<session>.<message>.type = 1 ). |
Dependencies | None |
Example
This example shows the Type 1 Client State message:
{
"messageVersion": "1.1.0.0",
"serialNumber": 2,
"sessions": [
{
"id": "ID13H56M10S772R0.955239302458247",
"startTime": 1343076970772,
"timezoneOffset": 420,
"messages": [
{
"type": 1,
"offset": 7353,
"screenviewOffset": 7352,
"count": 2,
"fromWeb": true,
"clientState": {
"pageWidth": 954,
"pageHeight": 820,
"viewPortWidth": 877,
"viewPortHeight": 836,
"viewPortX": 0,
"viewPortY": 0,
"event": "load",
"viewTime": 0
}
}],
"clientEnvironment": {...}
}
]
}