setAlertRadius

fun setAlertRadius(waypointIdx: Int, radius: Int): Boolean

Updates the alert radius of the specified route waypoint

Return

true on success of false if the given waypointIdx is out of range.

Parameters

waypointIdx

Index of the waypoint for which its alert radius has to be updated.

radius

the new alert radius (in meters).


fun setAlertRadius(radius: Int): Boolean

Updates the alert radius of all route waypoints

Return

true on success, false otherwise.

Parameters

radius

the new alert radius (in meters).