public class POISearchRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
POISearchRequest()
Constructor
|
POISearchRequest(long cPtr,
boolean cMemoryOwn)
Only for internal use - don't try to call this from Java.
|
POISearchRequest(java.lang.String request,
POISearchKind kind) |
POISearchRequest(java.lang.String request,
Position position,
int radius,
POISearchKind kind) |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
POISearchResult |
getContext()
Returns the previous SearchResult to search in.
|
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
POISearchKind |
getKind()
Returns the kind of search request.
|
Position |
getPosition()
Returns the position to search POIs for.
|
int |
getRadius()
Returns the radius for the search [m].
|
java.lang.String |
getRequest()
Returns the string to search for.
|
void |
setContext(POISearchResult context) |
void |
setKind(POISearchKind kind)
Sets the kind of search request.
|
void |
setPosition(Position position)
Sets the position to search POIs for.
|
void |
setRadius(int radius)
Sets the radius for the search [m].
|
void |
setRequest(java.lang.String request)
Sets the string to search for.
|
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public POISearchRequest()
public POISearchRequest(java.lang.String request, POISearchKind kind)
public POISearchRequest(java.lang.String request, Position position, int radius, POISearchKind kind)
public POISearchRequest(long cPtr, boolean cMemoryOwn)
public java.lang.String getRequest()
public void setRequest(java.lang.String request)
request
- - the string to search for.public Position getPosition()
public void setPosition(Position position)
position
- - the position to search POIs for.public int getRadius()
public void setRadius(int radius)
radius
- - the radius for the search.public POISearchResult getContext()
public void setContext(POISearchResult context)
public POISearchKind getKind()
public void setKind(POISearchKind kind)
kind
- - the kind of search request.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()