Possible enumeration values:

NameValueDescription
Fastest

2

Optimizes the route for the fastest time (recommended)

Shortest

1

Optimizes the route for the shortest distance