Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages

Return value of functions in kodi::addon::CAddonBase and associated classes
With this Kodi can do any follow-up work or add-on e.g. declare it as defective. More...

Typedefs

typedef enum ADDON_STATUS ADDON_STATUS
 

Enumerations

enum  ADDON_STATUS {
  ADDON_STATUS_OK , ADDON_STATUS_LOST_CONNECTION , ADDON_STATUS_NEED_RESTART , ADDON_STATUS_NEED_SETTINGS ,
  ADDON_STATUS_UNKNOWN , ADDON_STATUS_PERMANENT_FAILURE , ADDON_STATUS_NOT_IMPLEMENTED
}
 

Detailed Description

Return value of functions in kodi::addon::CAddonBase and associated classes
With this Kodi can do any follow-up work or add-on e.g. declare it as defective.

Typedef Documentation

◆ ADDON_STATUS

Enumeration Type Documentation

◆ ADDON_STATUS

Enumerator
ADDON_STATUS_OK 

For everything OK and no error.

ADDON_STATUS_LOST_CONNECTION 

A needed connection was lost.

ADDON_STATUS_NEED_RESTART 

Addon needs a restart inside Kodi.

ADDON_STATUS_NEED_SETTINGS 

Necessary settings are not yet set.

ADDON_STATUS_UNKNOWN 

Unknown and incomprehensible error.

ADDON_STATUS_PERMANENT_FAILURE 

Permanent failure, like failing to resolve methods.

ADDON_STATUS_NOT_IMPLEMENTED