Music Hub  ..
A session-wide music playback service
mpris::Player::PlaybackStatus Struct Reference

#include <player.h>

+ Collaboration diagram for mpris::Player::PlaybackStatus:

Public Member Functions

 PlaybackStatus ()=delete
 

Static Public Member Functions

static const char * from (core::ubuntu::media::Player::PlaybackStatus status)
 

Static Public Attributes

static constexpr const char * playing {"Playing"}
 
static constexpr const char * paused {"Paused"}
 
static constexpr const char * stopped {"Stopped"}
 

Detailed Description

Definition at line 85 of file player.h.

Constructor & Destructor Documentation

◆ PlaybackStatus()

mpris::Player::PlaybackStatus::PlaybackStatus ( )
delete

Member Function Documentation

◆ from()

static const char* mpris::Player::PlaybackStatus::from ( core::ubuntu::media::Player::PlaybackStatus  status)
inlinestatic

Definition at line 89 of file player.h.

References paused, playing, and stopped.

Referenced by media::ServiceSkeleton::Private::Exported::set_current_player().

Member Data Documentation

◆ paused

constexpr const char* mpris::Player::PlaybackStatus::paused {"Paused"}
static

Definition at line 108 of file player.h.

Referenced by from().

◆ playing

constexpr const char* mpris::Player::PlaybackStatus::playing {"Playing"}
static

Definition at line 107 of file player.h.

Referenced by from().

◆ stopped

constexpr const char* mpris::Player::PlaybackStatus::stopped {"Stopped"}
static

Definition at line 109 of file player.h.

Referenced by from().


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