Kodi Development  20.0
for Binary and Script based Add-Ons
Definitions, structures and enumerators

Detailed Description

General definition values

Modules

 using HardwareContext
 Hardware specific device context
This defines an independent value which is used for hardware and OS specific values.
 
 enum AddonLog
 Log file type definitions
These define the types of log entries given with kodi::Log() to Kodi.
 

Class Documentation

◆ kodi_version_t

struct kodi_version_t

For kodi::Version used structure.

Class Members
string compile_name Application name, normally 'Kodi'.
int major Major code version of Kodi.
int minor Minor code version of Kodi.
string revision The Revision contains a id and the build date, e.g. 20170706-c6b22fe217-dirty.
string tag The version canditate e.g. alpha, beta or release.
string tag_revision The revision of tag before.

Enumeration Type Documentation

◆ StdKbButtons

For kodi::CurrentKeyboardLayout used defines.

Enumerator
STD_KB_BUTTONS_PER_ROW 

The quantity of buttons per row on Kodi's standard keyboard.

STD_KB_BUTTONS_MAX_ROWS 

The quantity of rows on Kodi's standard keyboard.

STD_KB_MODIFIER_KEY_NONE 

Keyboard layout type, this for initial standard.

STD_KB_MODIFIER_KEY_SHIFT 

Keyboard layout type, this for shift controled layout (uppercase)

STD_KB_MODIFIER_KEY_SYMBOL 

Keyboard layout type, this to show symbols.

◆ QueueMsg

enum QueueMsg

For kodi::QueueNotification() used message types.

Enumerator
QUEUE_INFO 

Show info notification message.

QUEUE_WARNING 

Show warning notification message.

QUEUE_ERROR 

Show error notification message.

QUEUE_OWN_STYLE 

Show with own given image and parts if set on values.

◆ LangFormats

Format codes to get string from them.

Used on kodi::GetLanguage().

Enumerator
LANG_FMT_ISO_639_1 

two letter code as defined in ISO 639-1

LANG_FMT_ISO_639_2 

three letter code as defined in ISO 639-2/T or ISO 639-2/B

LANG_FMT_ENGLISH_NAME 

full language name in English