summaryrefslogtreecommitdiff
path: root/src/android/bluetooth/src/org/qtproject/qt/android/bluetooth/QtBluetoothGattCharacteristic.java
blob: c8779b003f670b53951b7907000d352b0333d917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

package org.qtproject.qt.android.bluetooth;

import android.bluetooth.BluetoothGattCharacteristic;
import android.util.Log;

import java.util.UUID;

public class QtBluetoothGattCharacteristic extends BluetoothGattCharacteristic {
    public QtBluetoothGattCharacteristic(UUID uuid, int properties, int permissions,
                                         int minimumValueLength, int maximumValueLength) {
        super(uuid, properties, permissions);
        minValueLength = minimumValueLength;
        maxValueLength = maximumValueLength;
    }
    public int minValueLength;
    public int maxValueLength;
}