Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Action class. More...

Detailed Description

Action class.

Class: xbmcgui.Action():

This class serves in addition to identify carried out kodi_key_action_ids of Kodi and to be able to carry out thereby own necessary steps.

The data of this class are always transmitted by callback Window::onAction at a window.

Inherits AddonClass.

Public Member Functions

 Action (const CAction &caction)
 
 getAmount1 ()
 

Function: getAmount1()


Returns the first amount of force applied to the thumbstick.
 
 getAmount2 ()
 

Function: getAmount2()


Returns the second amount of force applied to the thumbstick.
 
 getButtonCode ()
 

Function: getButtonCode()


Returns the button code for this action.
 
 getId ()
 

Function: getId()


To get kodi_key_action_ids
 
void setFromCAction (const CAction &caction)
 

Public Attributes

unsigned long buttonCode = 0
 
AddonClass::Ref< Controlcontrol
 
float fAmount1 = 0.0f
 
float fAmount2 = 0.0f
 
float fRepeat = 0.0f
 
long id = -1
 
std::string strAction
 

The documentation for this class was generated from the following file: