addDisplayRule

fun addDisplayRule(locationDisplayRule: LocationDisplayRule)

Adds a custom display rule

Parameters

locationDisplayRule

The new display rule to add

Throws

if the given LocationDisplayRule name is currently being used


fun addDisplayRule(locationDisplayRule: LocationDisplayRule, onResultReadyListener: OnResultReadyListener)

Adds a new display rule

Parameters

locationDisplayRule

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