blob: 4e51f2fd141b59a16cd532be9208918c7a0ec4a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import java.util.*;
public class BluetoothGattService extends BluetoothObject
{
private long nativeInstance;
public native BluetoothType getBluetoothType();
public native BluetoothAdapter clone();
public native String getUuid();
public native BluetoothDevice getDevice();
public native boolean getPrimary();
public native List<BluetoothGattCharacteristic> getCharacteristics();
private native void delete();
private BluetoothGattService(long instance)
{
super(instance);
nativeInstance = instance;
}
protected void finalize()
{
delete();
}
}
|