ESPHome  2022.11.3
Public Member Functions | Protected Attributes
esphome::media_player::MediaPlayerTraits Class Reference

#include <media_player.h>

Public Member Functions

 MediaPlayerTraits ()=default
 
void set_supports_pause (bool supports_pause)
 
bool get_supports_pause () const
 

Protected Attributes

bool supports_pause_ {false}
 

Detailed Description

Definition at line 31 of file media_player.h.

Constructor & Destructor Documentation

◆ MediaPlayerTraits()

esphome::media_player::MediaPlayerTraits::MediaPlayerTraits ( )
default

Member Function Documentation

◆ get_supports_pause()

bool esphome::media_player::MediaPlayerTraits::get_supports_pause ( ) const
inline

Definition at line 37 of file media_player.h.

◆ set_supports_pause()

void esphome::media_player::MediaPlayerTraits::set_supports_pause ( bool  supports_pause)
inline

Definition at line 35 of file media_player.h.

Field Documentation

◆ supports_pause_

bool esphome::media_player::MediaPlayerTraits::supports_pause_ {false}
protected

Definition at line 40 of file media_player.h.


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