19 #ifndef CORE_UBUNTU_MEDIA_ENGINE_H_
20 #define CORE_UBUNTU_MEDIA_ENGINE_H_
25 #include <core/property.h>
76 virtual const core::Property<State>&
state()
const = 0;
81 virtual bool play() = 0;
82 virtual bool stop() = 0;
83 virtual bool pause() = 0;
84 virtual bool seek_to(
const std::chrono::microseconds& ts) = 0;
89 virtual const core::Property<uint64_t>&
position()
const = 0;
90 virtual const core::Property<uint64_t>&
duration()
const = 0;
92 virtual const core::Property<Volume>&
volume()
const = 0;
93 virtual core::Property<Volume>&
volume() = 0;
95 virtual const core::Property<core::ubuntu::media::Player::AudioStreamRole>&
audio_stream_role()
const = 0;
96 virtual core::Property<core::ubuntu::media::Player::AudioStreamRole>&
audio_stream_role() = 0;
98 virtual const core::Property<core::ubuntu::media::Player::Orientation>&
orientation()
const = 0;
100 virtual const core::Property<std::tuple<Track::UriType, Track::MetaData>>&
track_meta_data()
const = 0;
109 virtual void reset() = 0;
115 #endif // CORE_UBUNTU_MEDIA_ENGINE_H_