public class TrafficSearchResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TrafficSearchResult.SimplifiedCategory |
Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
TrafficSearchResult()
Constructor
|
TrafficSearchResult(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
TrafficSearchResult(long cPtr,
com.ptvag.navigation.sdk.NativeObject parent) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
int |
getCategory()
Returns the category of the item.
|
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
int |
getDelay()
Returns the delay of the item.
|
int |
getDelayOnOtherEvent()
Returns the part of delay on the route of the item which was related to an other event.
|
int |
getDelayOnRoute()
Returns the delay on the route of the item.
|
java.lang.String |
getDescription()
Returns the description of the traffic item
|
int |
getDistanceFromStart()
Returns the distance from start of the route of the item.
|
java.lang.String |
getEndTime()
Returns the end time of the item.
|
int |
getEventLength()
Returns the event length of the item.
|
int |
getEventLengthCategory()
Returns the category of the item.
|
int |
getEventLengthOnRoute()
Returns the event length on the route of the item.
|
java.lang.String |
getProviderName()
Returns the provider name of the item.
|
java.lang.String |
getReportId()
Returns the report id of the item.
|
int |
getRouteIdx() |
TrafficSearchResult.SimplifiedCategory |
getSimplifiedCategory()
Returns the simplified category of the item.
|
java.lang.String |
getStartTime()
Returns the start time of the item.
|
boolean |
isOnRoute() |
boolean |
isRoadBlockedOrClosed()
Returns whether the corresponding road is closed or blocked because of this traffic event.
|
boolean |
isRoutingRelevant() |
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public TrafficSearchResult()
public TrafficSearchResult(long cPtr, boolean cMemoryOwn)
public TrafficSearchResult(long cPtr, com.ptvag.navigation.sdk.NativeObject parent)
public java.lang.String getDescription()
public java.lang.String getReportId()
public java.lang.String getProviderName()
public java.lang.String getStartTime()
public java.lang.String getEndTime()
public int getCategory()
public TrafficSearchResult.SimplifiedCategory getSimplifiedCategory()
public int getEventLengthCategory()
public int getEventLength()
public int getEventLengthOnRoute()
public int getDelay()
public int getDelayOnRoute()
public int getDelayOnOtherEvent()
public int getDistanceFromStart()
public boolean isRoadBlockedOrClosed()
public boolean isRoutingRelevant()
public boolean isOnRoute()
public int getRouteIdx()
public static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void delete()