public final class P_ServerHolder extends java.lang.Object implements UsesCustomNull
BluetoothGattServer
. This is only meant to wrap callbacks
from the native layer to the internal layer. Once in the native layer, the device will be passed into
an instance of IBluetoothServer
.Modifier and Type | Field and Description |
---|---|
static P_ServerHolder |
NULL |
Modifier and Type | Method and Description |
---|---|
android.bluetooth.BluetoothGattServer |
getServer() |
boolean |
isNull()
Returns
true if the object's state represents what would otherwise be Java's built-in null . |
static P_ServerHolder |
newHolder(android.bluetooth.BluetoothGattServer server) |
public static final P_ServerHolder NULL
public final android.bluetooth.BluetoothGattServer getServer()
public boolean isNull()
UsesCustomNull
true
if the object's state represents what would otherwise be Java's built-in null
.isNull
in interface UsesCustomNull
public static P_ServerHolder newHolder(android.bluetooth.BluetoothGattServer server)