public abstract class Source
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
detached |
Modifier | Constructor and Description |
---|---|
|
Source() |
protected |
Source(long nativePtr)
Internal use
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkThread()
Validates if source interaction is happening on the UI thread
|
java.lang.String |
getAttribution()
Retrieve the source attribution.
|
java.lang.String |
getId()
Retrieve the source id
|
long |
getNativePtr()
Internal use
|
protected java.lang.String |
nativeGetAttribution() |
protected java.lang.String |
nativeGetId() |
void |
setDetached() |
protected Source(long nativePtr)
nativePtr
- - pointer to native peerpublic Source()
protected void checkThread()
public java.lang.String getId()
public java.lang.String getAttribution()
Will return an empty String if no attribution is available.
public long getNativePtr()
protected java.lang.String nativeGetId()
protected java.lang.String nativeGetAttribution()
public void setDetached()
© 2015–2019 Mapbox. All rights reserved.