public interface

# BleSignal

com.google.android.gms.nearby.messages.BleSignal

## Class Overview

Represents properties of the BLE signal associated with a `Message`.

## Summary

Constants
int | UNKNOWN_TX_POWER | Unknown transmission power level.

Public Methods
abstract int | getRssi() Returns the received signal strength indicator (RSSI) in dBm.
abstract int | getTxPower() Returns the transmission power level at 1 meter, in dBm.

## Constants

#### public static final int UNKNOWN_TX_POWER

Unknown transmission power level. See `getTxPower()`.

Constant Value: -2147483648 (0x80000000)

## Public Methods

#### public abstract int getRssi ()

Returns the received signal strength indicator (RSSI) in dBm. The valid range is [-127, 127], inclusive.

This is a weighted average of sightings, with later sightings having more weight.

#### public abstract int getTxPower ()

Returns the transmission power level at 1 meter, in dBm. Returns `UNKNOWN_TX_POWER` if the advertiser did not report its transmission power.