delay property
Estimated delay introduced by the traffic event.
The delay is expressed in seconds. When the delay is not available the
SDK returns -1.
Returns
- int: estimated delay in seconds, or
-1when unknown.
Implementation
int get delay {
final OperationResult resultString = objectMethod(
pointerId,
'TrafficEvent',
'getDelay',
);
return resultString['result'];
}