ESPHome 2026.7.4
Loading...
Searching...
No Matches
esphome::ota::OTAGlobalStateListener Class Referenceabstract

Listener interface for global OTA state changes (includes OTA component pointer). More...

#include <ota_backend.h>

Inheritance diagram for esphome::ota::OTAGlobalStateListener:
esphome::micro_wake_word::MicroWakeWord esphome::speaker::SpeakerMediaPlayer

Public Member Functions

virtual ~OTAGlobalStateListener ()=default
 
virtual void on_ota_global_state (OTAState state, float progress, uint8_t error, OTAComponent *component)=0
 

Detailed Description

Listener interface for global OTA state changes (includes OTA component pointer).

Used by OTAGlobalCallback to aggregate state from multiple OTA components.

Definition at line 117 of file ota_backend.h.

Constructor & Destructor Documentation

◆ ~OTAGlobalStateListener()

virtual esphome::ota::OTAGlobalStateListener::~OTAGlobalStateListener ( )
virtualdefault

Member Function Documentation

◆ on_ota_global_state()

virtual void esphome::ota::OTAGlobalStateListener::on_ota_global_state ( OTAState state,
float progress,
uint8_t error,
OTAComponent * component )
pure virtual

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