Boolean Segmentation Properties
The following properties are stored ad boolean values:
touchScreen
The type field needs to be boolean, and the value must be true or false. A segmentLabel field is also required
The following example requests data segmented by touchScreen:
{
"segmentBy": "touchScreen",
"segments": [
{
"type": "boolean",
"value": true,
"segmentLabel": "Yes"
},
{
"type": "boolean",
"value": false,
"segmentLabel": "No"
},
{
"includeNull": true,
"segmentLabel": "Unknown"
}
]
}
In the above example, we are requesting a report with 3 segments. The first segment contains installations on which a touch screen was detected, the second one where no touch screen has been detected, while the last one is where we could not detect whether a touch screen is present due to the client using an old SDK which did not have touch screen detection support.