Package 

Class AltBeacon.Builder


  • 
    public class AltBeacon.Builder
    extends Beacon.Builder
                        

    Builder class for AltBeacon objects. Provides a convenient way to set the various fields of a Beacon

    Example:

    Beacon beacon = new Beacon.Builder()
            .setId1("2F234454-CF6D-4A0F-ADF2-F4911BA9FFA6")
            .setId2("1")
            .setId3("2")
            .setMfgReserved(3);
            .build();
    
    • Method Summary

      Modifier and Type Method Description
      Beacon build() Builds an instance of this beacon based on parameters set in the Builder
      AltBeacon.Builder setMfgReserved(int mfgReserved)
      • Methods inherited from class org.altbeacon.beacon.Beacon.Builder

        copyBeaconFields, setBeaconTypeCode, setBluetoothAddress, setBluetoothName, setDataFields, setExtraDataFields, setId1, setId2, setId3, setIdentifiers, setManufacturer, setMultiFrameBeacon, setParserIdentifier, setRssi, setRunningAverageRssi, setServiceUuid, setServiceUuid128Bit, setTxPower
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait