public abstract class Source extends Object
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
|
String |
getAttribution()
Retrieve the source attribution.
|
String |
getId()
Retrieve the source id
|
long |
getNativePtr()
Internal use
|
protected String |
nativeGetAttribution() |
protected String |
nativeGetId() |
protected Source(long nativePtr)
nativePtr
- - pointer to native peerpublic Source()
protected void checkThread()
public String getId()
public String getAttribution()
Will return an empty String if no attribution is available.
public long getNativePtr()
protected String nativeGetId()
protected String nativeGetAttribution()
© 2015–2018 Mapbox. All rights reserved.