ESPHome  2024.6.1
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 32 of file media_player.h.

Constructor & Destructor Documentation

◆ MediaPlayerTraits()

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

Member Function Documentation

◆ get_supports_pause()

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

Definition at line 38 of file media_player.h.

◆ set_supports_pause()

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

Definition at line 36 of file media_player.h.

Field Documentation

◆ supports_pause_

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

Definition at line 41 of file media_player.h.

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