setLayout method
Sets beacon layout.
This parameter is Android only. It's optional, the default is ALTBEACON_LAYOUT. You can use one of the options:
- [ALTBEACON_LAYOUT]
- [EDDYSTONE_TLM_LAYOUT]
- [EDDYSTONE_UID_LAYOUT]
- [EDDYSTONE_URL_LAYOUT]
- [URI_BEACON_LAYOUT]
For iOS, layout will be always iBeacon.
Implementation
BeaconBroadcast setLayout(String layout) {
_layout = layout;
return this;
}