/**@class android.bluetooth.le.ScanRecord @extends java.lang.Object Represents a scan record from Bluetooth LE scan. */ var ScanRecord = { /**Returns the advertising flags indicating the discoverable mode and capability of the device. Returns -1 if the flag field is not set. */ getAdvertiseFlags : function( ) {}, /**Returns a list of service UUIDs within the advertisement that are used to identify the bluetooth GATT services. */ getServiceUuids : function( ) {}, /**Returns a list of service solicitation UUIDs within the advertisement that are used to identify the Bluetooth GATT services. */ getServiceSolicitationUuids : function( ) {}, /**Returns a sparse array of manufacturer identifier and its corresponding manufacturer specific data. */ getManufacturerSpecificData : function( ) {}, /**Returns the manufacturer specific data associated with the manufacturer id. Returns {@code null} if the {@code manufacturerId} is not found. */ getManufacturerSpecificData : function( ) {}, /**Returns a map of service UUID and its corresponding service data. */ getServiceData : function( ) {}, /**Returns the service data byte array associated with the {@code serviceUuid}. Returns {@code null} if the {@code serviceDataUuid} is not found. */ getServiceData : function( ) {}, /**Returns the transmission power level of the packet in dBm. Returns {@link Integer#MIN_VALUE} if the field is not set. This value can be used to calculate the path loss of a received packet using the following equation: <p> <code>pathloss = txPowerLevel - rssi</code> */ getTxPowerLevel : function( ) {}, /**Returns the local name of the BLE device. The is a UTF-8 encoded string. */ getDeviceName : function( ) {}, /**Returns raw bytes of scan record. */ getBytes : function( ) {}, /**Parse scan record bytes to {@link android.bluetooth.le.ScanRecord}. <p> The format is defined in Bluetooth 4.1 specification, Volume 3, Part C, Section 11 and 18. <p> All numerical multi-byte entities and values shall use little-endian <strong>byte</strong> order. @param {Object {byte[]}} scanRecord The scan record of Bluetooth LE advertisement and/or scan response. @hide */ parseFromBytes : function( ) {}, /** */ toString : function( ) {}, };