sdk-traffic / com.tomtom.online.sdk.traffic.incidents.query / IncidentDetailsQueryBuilder / withExpandCluster

withExpandCluster

fun withExpandCluster(expandCluster: Boolean): IncidentDetailsQueryBuilder

Overrides IIncidentDetailsQuery.withExpandCluster

Sets whether a list of separate incidents should be added to clusters.

Parameters

expandCluster - If true, clusters will contain a list of incidents in addition to cluster data.

Return
A reference to this object.