Pebble App Framework
v7.1.1
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Device API
Toggle main menu visibility
Loading...
Searching...
No Matches
uv_band.h
Go to the documentation of this file.
1
16
#pragma once
17
22
26
typedef
enum
27
{
28
UV_BAND_NONE
,
29
UV_BAND_LOW
,
30
UV_BAND_MODERATE
,
31
UV_BAND_HIGH
,
32
UV_BAND_VERY_HIGH
,
33
UV_BAND_EXTREME
,
34
}
UvBand
;
35
42
UvBand
uv_band
(
int
uv);
43
50
const
char
*
uv_band_name
(
UvBand
band);
51
60
const
char
*
uv_band_short_name
(
UvBand
band);
61
UvBand
UvBand
The risk bands, lowest first.
Definition
uv_band.h:27
uv_band_short_name
const char * uv_band_short_name(UvBand band)
The band's short name in capitals, at most six letters, such as "MOD" or "V.HIGH".
Definition
uv_band.c:68
uv_band_name
const char * uv_band_name(UvBand band)
The band's full name in capitals, such as "MODERATE" or "VERY HIGH".
Definition
uv_band.c:59
uv_band
UvBand uv_band(int uv)
The band a UV index falls in.
Definition
uv_band.c:12
UV_BAND_VERY_HIGH
@ UV_BAND_VERY_HIGH
8 to 10
Definition
uv_band.h:32
UV_BAND_LOW
@ UV_BAND_LOW
0 to 2
Definition
uv_band.h:29
UV_BAND_HIGH
@ UV_BAND_HIGH
6 and 7
Definition
uv_band.h:31
UV_BAND_MODERATE
@ UV_BAND_MODERATE
3 to 5
Definition
uv_band.h:30
UV_BAND_NONE
@ UV_BAND_NONE
No reading, from a negative index.
Definition
uv_band.h:28
UV_BAND_EXTREME
@ UV_BAND_EXTREME
11 and up
Definition
uv_band.h:33
src
c
core
weather
uv_band.h
Generated by
1.18.0