@ConsumerType
public interface BluetoothLeBeaconEncoder<T extends BluetoothLeBeacon>
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(T beacon)
Encodes a BluetoothLeBeacon into a byte array
|
java.lang.Class<T> |
getBeaconType()
Get the type of beacon this encoder can manage
|
byte[] encode(T beacon)
beacon
- the BluetoothLeBeacon to be broadcast by an advertiserjava.lang.Class<T> getBeaconType()