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

Go to the source code of this file.

Data Structures

class  esphome::media_player::MediaPlayerTraits
 
class  esphome::media_player::MediaPlayerCall
 
class  esphome::media_player::MediaPlayer
 

Namespaces

 esphome
 
 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 }
 
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
}
 

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)