addDisplayRules

fun addDisplayRules(displayRuleList: List<LocationDisplayRule>)

Adds a new set of custom display rules

Parameters

displayRuleList

The set of new display rules to be added

Throws

if the given LocationDisplayRule name is currently being used


fun addDisplayRules(displayRuleList: List<LocationDisplayRule>, onResultReadyListener: OnResultReadyListener)

Add rules needed to display locations correctly.

Parameters

displayRuleList

The new display rule to add

onResultReadyListener

A callback invoked once this method is done loading resources, if any

Throws

if the given LocationDisplayRule name is currently being used