ESPHome  2024.10.2
Data Structures | Namespaces | Enumerations | Functions
media_player.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::media_player::MediaPlayerSupportedFormat
 
class  esphome::media_player::MediaPlayerTraits
 
class  esphome::media_player::MediaPlayerCall
 
class  esphome::media_player::MediaPlayer
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::media_player
 

Enumerations

enum  esphome::media_player::MediaPlayerState : uint8_t {
  esphome::media_player::MEDIA_PLAYER_STATE_NONE = 0, esphome::media_player::MEDIA_PLAYER_STATE_IDLE = 1, esphome::media_player::MEDIA_PLAYER_STATE_PLAYING = 2, esphome::media_player::MEDIA_PLAYER_STATE_PAUSED = 3,
  esphome::media_player::MEDIA_PLAYER_STATE_ANNOUNCING = 4
}
 
enum  esphome::media_player::MediaPlayerCommand : uint8_t {
  esphome::media_player::MEDIA_PLAYER_COMMAND_PLAY = 0, esphome::media_player::MEDIA_PLAYER_COMMAND_PAUSE = 1, esphome::media_player::MEDIA_PLAYER_COMMAND_STOP = 2, esphome::media_player::MEDIA_PLAYER_COMMAND_MUTE = 3,
  esphome::media_player::MEDIA_PLAYER_COMMAND_UNMUTE = 4, esphome::media_player::MEDIA_PLAYER_COMMAND_TOGGLE = 5, esphome::media_player::MEDIA_PLAYER_COMMAND_VOLUME_UP = 6, esphome::media_player::MEDIA_PLAYER_COMMAND_VOLUME_DOWN = 7
}
 
enum  esphome::media_player::MediaPlayerFormatPurpose : uint8_t { esphome::media_player::MediaPlayerFormatPurpose::PURPOSE_DEFAULT = 0, esphome::media_player::MediaPlayerFormatPurpose::PURPOSE_ANNOUNCEMENT = 1 }
 

Functions

const char * esphome::media_player::media_player_state_to_string (MediaPlayerState state)
 
const char * esphome::media_player::media_player_command_to_string (MediaPlayerCommand command)