Skip to main content

Module signal_meter

Module signal_meter 

Expand description

SignalMeter: how strong a radio signal is (a Wi-Fi network, a mobile network), as four bars of rising height.

The bars the level reaches are filled in the accent ink; the rest are the muted track a progress bar’s unfilled part is, so the meter reads on every material and in high contrast. The meter names itself by its level (“Strong signal”), the name a screen reader announces and the tooltip a list row shows for its leading column.

SignalMeterFace paints the same meter into a rect for a host that paints immediately (a list row’s leading column, the quick settings panel); SignalMeter is the retained widget, one icon square in size.

Structs§

SignalMeter
The retained meter: one icon square in a row, named by its level.
SignalMeterFace
The meter painted into a rect: four bars standing on its bottom edge, centred in the largest square the rect holds.
SignalMeterProps
How strong a radio signal is (a Wi-Fi network, a mobile network), as four bars of rising height, one icon square in size. It names itself by its level: “Strong signal”.

Enums§

SignalLevel
How strong a signal is: the level the meter fills to.

Constants§

SIGNAL_BARS
How many bars a meter has.