public class UpgradeService extends Service
Modifier and Type | Class and Description |
---|---|
static class |
UpgradeService.AppInfoCharacteristic |
Modifier and Type | Field and Description |
---|---|
UpgradeService.AppInfoCharacteristic |
appInfoCharacteristic |
Constructor and Description |
---|
UpgradeService(android.bluetooth.BluetoothGattService service,
android.bluetooth.BluetoothGatt gatt) |
Modifier and Type | Method and Description |
---|---|
void |
cancelPendingOperations() |
static UpgradeService |
create(android.bluetooth.BluetoothGatt gatt) |
UpgradeService.AppInfoCharacteristic |
getAppInfoCharacteristic() |
Characteristic |
getCharacteristic(android.bluetooth.BluetoothGattCharacteristic bluetoothGattCharacteristic) |
public UpgradeService.AppInfoCharacteristic appInfoCharacteristic
public UpgradeService(android.bluetooth.BluetoothGattService service, android.bluetooth.BluetoothGatt gatt)
@Nullable public Characteristic getCharacteristic(android.bluetooth.BluetoothGattCharacteristic bluetoothGattCharacteristic)
getCharacteristic
in class Service
public void cancelPendingOperations()
cancelPendingOperations
in class Service
public static UpgradeService create(android.bluetooth.BluetoothGatt gatt)
public UpgradeService.AppInfoCharacteristic getAppInfoCharacteristic()