Example usage for android.bluetooth.le ScanRecord getAdvertiseFlags

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

Introduction

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

Prototype

public int getAdvertiseFlags() 

Source Link

Document

Returns the advertising flags indicating the discoverable mode and capability of the device.

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 av a 2s  .com
}