Android Java SDK for Sygic 3D
ApiInfo Class Reference

Static Public Member Functions

static int getCurrentSpeedLimit (int maxTime) throws GeneralException
 Returns the speed limit of the current road. More...
 

Member Function Documentation

◆ getCurrentSpeedLimit()

static int getCurrentSpeedLimit ( int  maxTime) throws GeneralException
static

Returns the speed limit of the current road.

Parameters
maxTimeMaximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited.
Returns
the current speed limit
Exceptions
GeneralExceptionthe general exception

References Api.getInstance(), and Api.getService().