Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

PVR timer weekdays (kodi::addon::PVRTimer::SetWeekdays() values)
Used to select the days of a week you want. More...

Typedefs

typedef enum PVR_WEEKDAYS PVR_WEEKDAY
 

Enumerations

enum  PVR_WEEKDAYS {
  PVR_WEEKDAY_NONE = 0 , PVR_WEEKDAY_MONDAY = (1 << 0) , PVR_WEEKDAY_TUESDAY = (1 << 1) , PVR_WEEKDAY_WEDNESDAY = (1 << 2) ,
  PVR_WEEKDAY_THURSDAY = (1 << 3) , PVR_WEEKDAY_FRIDAY = (1 << 4) , PVR_WEEKDAY_SATURDAY = (1 << 5) , PVR_WEEKDAY_SUNDAY = (1 << 6) ,
  PVR_WEEKDAY_ALLDAYS
}
 

Detailed Description

PVR timer weekdays (kodi::addon::PVRTimer::SetWeekdays() values)
Used to select the days of a week you want.

It can be also used to select several days e.g.:

...
...
const char * day[]
Definition WIN32Util.cpp:678
@ PVR_WEEKDAY_SATURDAY
0010 0000 : To select Saturday.
Definition pvr_timers.h:270
@ PVR_WEEKDAY_MONDAY
0000 0001 : To select Monday.
Definition pvr_timers.h:255

Typedef Documentation

◆ PVR_WEEKDAY

typedef enum PVR_WEEKDAYS PVR_WEEKDAY

Enumeration Type Documentation

◆ PVR_WEEKDAYS

Enumerator
PVR_WEEKDAY_NONE 

0000 0000 : Nothing selected.

PVR_WEEKDAY_MONDAY 

0000 0001 : To select Monday.

PVR_WEEKDAY_TUESDAY 

0000 0010 : To select Tuesday.

PVR_WEEKDAY_WEDNESDAY 

0000 0100 : To select Wednesday.

PVR_WEEKDAY_THURSDAY 

0000 1000 : To select Thursday.

PVR_WEEKDAY_FRIDAY 

0001 0000 : To select Friday.

PVR_WEEKDAY_SATURDAY 

0010 0000 : To select Saturday.

PVR_WEEKDAY_SUNDAY 

0100 0000 : To select Sunday.

PVR_WEEKDAY_ALLDAYS 

0111 1111 : To select all days of week.