advertising
Adds an advertising set to the peripheral.
Parameters
The advertising parameters.
The delay before the advertising starts.
The advertising timeout, since the start of advertising. By default set to infinite.
Whether the device should advertise when connected.
Whether the device is a beacon which can reveal user's location, that is an iBeacon or Eddystone beacon. On Android 12+ such advertisements require location permission granted or are excluded from the scan results.
The builder for the advertising data.
Adds an advertising set to the peripheral.
Parameters
The advertising parameters.
The delay before the advertising starts.
The maximum number of advertising events, in range 1..255.
Whether the device should advertise when connected.
Whether the device is a beacon which can reveal user's location, that is an iBeacon or Eddystone beacon. On Android 12+ such advertisements require location permission granted or are excluded from the scan results.
The builder for the advertising data.