ESPHome 2026.3.0
Loading...
Searching...
No Matches
esphome::speaker_source::MediaPlayerControlCommand Struct Reference

#include <speaker_source_media_player.h>

Public Types

enum  Type : uint8_t {
  PLAY_URI , ENQUEUE_URI , PLAYLIST_ADVANCE , PLAY_CURRENT ,
  SEND_COMMAND
}
 

Data Fields

Type type
 
uint8_t pipeline
 
union { 
 
   std::string *   uri 
 
   media_player::MediaPlayerCommand   command 
 
data 
 

Detailed Description

Definition at line 127 of file speaker_source_media_player.h.

Member Enumeration Documentation

◆ Type

Enumerator
PLAY_URI 
ENQUEUE_URI 
PLAYLIST_ADVANCE 
PLAY_CURRENT 
SEND_COMMAND 

Definition at line 128 of file speaker_source_media_player.h.

Field Documentation

◆ command

media_player::MediaPlayerCommand esphome::speaker_source::MediaPlayerControlCommand::command

Definition at line 140 of file speaker_source_media_player.h.

◆ [union]

union { ... } esphome::speaker_source::MediaPlayerControlCommand::data

◆ pipeline

uint8_t esphome::speaker_source::MediaPlayerControlCommand::pipeline

Definition at line 136 of file speaker_source_media_player.h.

◆ type

Type esphome::speaker_source::MediaPlayerControlCommand::type

Definition at line 135 of file speaker_source_media_player.h.

◆ uri

std::string* esphome::speaker_source::MediaPlayerControlCommand::uri

Definition at line 139 of file speaker_source_media_player.h.


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