ESPHome  2024.11.0
Public Member Functions
esphome::microphone::DataTrigger Class Reference

#include <automation.h>

Inheritance diagram for esphome::microphone::DataTrigger:
esphome::Trigger< const std::vector< int16_t > &>

Public Member Functions

 DataTrigger (Microphone *mic)
 
- Public Member Functions inherited from esphome::Trigger< const std::vector< int16_t > &>
void trigger (Ts... x)
 Inform the parent automation that the event has triggered. More...
 
void set_automation_parent (Automation< Ts... > *automation_parent)
 
void stop_action ()
 Stop any action connected to this trigger. More...
 
bool is_action_running ()
 Returns true if any action connected to this trigger is running. More...
 

Additional Inherited Members

- Protected Attributes inherited from esphome::Trigger< const std::vector< int16_t > &>
Automation< Ts... > * automation_parent_
 

Detailed Description

Definition at line 19 of file automation.h.

Constructor & Destructor Documentation

◆ DataTrigger()

esphome::microphone::DataTrigger::DataTrigger ( Microphone mic)
inlineexplicit

Definition at line 21 of file automation.h.


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