lớp cuối cùng công khai BluetoothGatt mở rộng Object
Bản tóm tắt không đổi
| int | GATT_SUCCESS |
Tóm tắt về hàm dựng công cộng
Tóm tắt phương thức công khai
| void |
đóng()
|
| BluetoothGattService |
getService(UUID uuid)
|
| Danh sách<BluetoothGattService> | |
| boolean |
setcharacteristicNotifications(Đặc điểm Bluetooth, hỗ trợ boolean)
|
| boolean | |
| boolean |
writeDescriptor(BluetoothGattDescriptor
description)
|
Tóm tắt phương pháp kế thừa
Hằng số
public int final final in GATT_SUCCESS (Quảng cáo cuối cùng của Google dành cho tĩnh trên Google Ads)
Giá trị không đổi: 0
Hàm dựng công cộng
công khai BluetoothGatt ()
Phương thức công cộng
trống công khai đóng ()
công khai BluetoothGattService getService (UUID uuid)
Các thông số
| uuid |
|---|
public List<BluetoothGattService> getServices ()
Boolean công khai setcharacteristicNotifications (BluetoothGattcharacteristic đặc điểm, bật boolean)
Các thông số
| đặc điểm | |
|---|---|
| bật |
Boolean công khai writecharacteristic (BluetoothGattcharacteristic )
Các thông số
| đặc điểm |
|---|
boolean public writeDescriptor (BluetoothGattDescriptor description)
Các thông số
| bộ mô tả |
|---|