public abstract class P_NativeGattObject<T> extends java.lang.Object implements UsesCustomNull
Constructor and Description |
---|
P_NativeGattObject() |
P_NativeGattObject(T gattObject) |
P_NativeGattObject(T gattObject,
UhOhListener.UhOh uhOh) |
P_NativeGattObject(UhOhListener.UhOh uhOh) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
T |
getGattObject() |
UhOhListener.UhOh |
getUhOh()
Mostly used internally, but if there was a particular issue when retrieving a gatt object, it will have an
UhOhListener.UhOh
with a status of what went wrong. |
boolean |
hasUhOh() |
boolean |
isNull()
Returns
true if the gatt object held in this class is null or not. |
public P_NativeGattObject()
public P_NativeGattObject(T gattObject)
public P_NativeGattObject(UhOhListener.UhOh uhOh)
public P_NativeGattObject(T gattObject, UhOhListener.UhOh uhOh)
public UhOhListener.UhOh getUhOh()
UhOhListener.UhOh
with a status of what went wrong.public boolean hasUhOh()
public boolean isNull()
true
if the gatt object held in this class is null
or not.isNull
in interface UsesCustomNull
public T getGattObject()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object