kodi
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
CAndroidUtils Class Reference
Inheritance diagram for CAndroidUtils:
Inheritance graph
[legend]
Collaboration diagram for CAndroidUtils:
Collaboration graph
[legend]

Public Member Functions

bool GetNativeResolution (RESOLUTION_INFO *res) const
 
bool SetNativeResolution (const RESOLUTION_INFO &res)
 
bool ProbeResolutions (std::vector< RESOLUTION_INFO > &resolutions)
 
bool UpdateDisplayModes ()
 
bool IsHDRDisplay ()
 
void OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override
 The value of the given setting has changed. More...
 
- Public Member Functions inherited from ISettingCallback
virtual bool OnSettingChanging (const std::shared_ptr< const CSetting > &setting)
 The value of the given setting is being changed. More...
 
virtual void OnSettingAction (const std::shared_ptr< const CSetting > &setting)
 The given setting has been activated. More...
 
virtual bool OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode)
 The given setting needs to be updated. More...
 
virtual void OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName)
 The given property of the given setting has changed. More...
 

Static Public Member Functions

static bool SupportsMediaCodecMimeType (const std::string &mimeType)
 
static std::vector< int > GetDisplaySupportedHdrTypes ()
 
static CHDRCapabilities GetDisplayHDRCapabilities ()
 
static std::pair< bool, bool > GetDolbyVisionCapabilities ()
 

Static Public Attributes

static const std::string SETTING_LIMITGUI = "videoscreen.limitgui"
 

Protected Attributes

int m_width
 
int m_height
 

Member Function Documentation

◆ OnSettingChanged()

void CAndroidUtils::OnSettingChanged ( const std::shared_ptr< const CSetting > &  setting)
overridevirtual

The value of the given setting has changed.

This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.

Parameters
settingThe setting whose value has been changed

Reimplemented from ISettingCallback.


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