public abstract class Source
extends java.lang.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
|
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() |
protected Source(long nativePtr)
nativePtr
- - pointer to native peerpublic Source()
protected void checkThread()
@NonNull public java.lang.String getId()
@NonNull public java.lang.String getAttribution()
Will return an empty String if no attribution is available.
public long getNativePtr()
@NonNull protected java.lang.String nativeGetId()
@NonNull protected java.lang.String nativeGetAttribution()