MapTrip SDK Android Manual 9.8.8
TrafficMode Enum Reference

Public Member Functions

int getIntVal ()
 

Static Public Member Functions

static TrafficMode getByInt (int intVal)
 

Public Attributes

 AUTO_REROUTING =(1)
 
 DISABLE =(0)
 
 MANUAL_REROUTING =(2)
 

Detailed Description

enum type

Member Function Documentation

◆ getByInt()

static TrafficMode getByInt ( int  intVal)
static

◆ getIntVal()

int getIntVal ( )

Member Data Documentation

◆ AUTO_REROUTING

AUTO_REROUTING =(1)

the TMC callback are used, and the API automatically decides whether a traffic event should cause a rerouting.

◆ DISABLE

DISABLE =(0)

TMC is disabled.

◆ MANUAL_REROUTING

MANUAL_REROUTING =(2)

the TMC callback are used, but rerouting is only causes by a call of Traffic#reroute().


The documentation for this enum was generated from the following file: