public static class AdvertisingListener.AdvertisingEvent extends Event implements UsesCustomNull
Modifier and Type | Method and Description |
---|---|
boolean |
isNull()
Returns
true if the object's state represents what would otherwise be Java's built-in null . |
BleServer |
server()
The backing
BleManager which is attempting to start advertising. |
AdvertisingListener.Status |
status()
Returns
AdvertisingListener.Status describing
the m_status of calling BleServer.startAdvertising(BleScanRecord) |
java.lang.String |
toString() |
boolean |
wasSuccess()
Whether or not
BleServer.startAdvertising(BleScanRecord) was successful or not. |
public final BleServer server()
BleManager
which is attempting to start advertising.public final boolean wasSuccess()
BleServer.startAdvertising(BleScanRecord)
was successful or not. If false,
then call m_status
to get the error code.public final AdvertisingListener.Status status()
AdvertisingListener.Status
describing
the m_status of calling BleServer.startAdvertising(BleScanRecord)
public final boolean isNull()
UsesCustomNull
true
if the object's state represents what would otherwise be Java's built-in null
.isNull
in interface UsesCustomNull
public final java.lang.String toString()
toString
in class java.lang.Object