Example usage for android.bluetooth.le ScanRecord getServiceUuids

List of usage examples for android.bluetooth.le ScanRecord getServiceUuids

Introduction

In this page you can find the example usage for android.bluetooth.le ScanRecord getServiceUuids.

Prototype

public List<ParcelUuid> getServiceUuids() 

Source Link

Document

Returns a list of service UUIDs within the advertisement that are used to identify the bluetooth GATT services.

Usage

From source file:com.forkingcode.bluetoothcompat.ScanRecordCompat.java

@TargetApi(Build.VERSION_CODES.LOLLIPOP)
ScanRecordCompat(ScanRecord record) {
    mServiceUuids = record.getServiceUuids();
    mManufacturerSpecificData = record.getManufacturerSpecificData();
    mServiceData = record.getServiceData();
    mDeviceName = record.getDeviceName();
    mAdvertiseFlags = record.getAdvertiseFlags();
    mTxPowerLevel = record.getTxPowerLevel();
    mBytes = record.getBytes();/*from ww w.  j  a v  a 2 s  .c o  m*/
}