16 #ifndef ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_MPRISPLAYER_H_ 17 #define ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_MPRISPLAYER_H_ 28 namespace bluetoothImplementations {
58 static std::unique_ptr<MPRISPlayer>
create(
59 std::shared_ptr<DBusConnection> connection,
60 std::shared_ptr<DBusProxy> media,
61 std::shared_ptr<avsCommon::utils::bluetooth::BluetoothEventBus> eventBus,
74 std::shared_ptr<DBusConnection> connection,
75 std::shared_ptr<DBusProxy> media,
76 std::shared_ptr<avsCommon::utils::bluetooth::BluetoothEventBus> eventBus,
91 bool registerPlayer();
98 bool unregisterPlayer();
106 void unsupportedMethod(GVariant* arguments, GDBusMethodInvocation* invocation);
114 void toMediaCommand(GVariant* arguments, GDBusMethodInvocation* invocation);
127 std::shared_ptr<DBusProxy> m_media;
130 std::shared_ptr<avsCommon::utils::bluetooth::BluetoothEventBus> m_eventBus;
137 #endif // ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_MPRISPLAYER_H_ Definition: MPRISPlayer.h:39
virtual ~MPRISPlayer()
Destructor.
static std::unique_ptr< MPRISPlayer > create(std::shared_ptr< DBusConnection > connection, std::shared_ptr< DBusProxy > media, std::shared_ptr< avsCommon::utils::bluetooth::BluetoothEventBus > eventBus, const std::string &playerPath=MPRIS_OBJECT_PATH)
::std::string string
Definition: gtest-port.h:1097
Definition: DBusObject.h:41
MediaCommand
An Enum representing Media commands.
Definition: AVRCPTargetInterface.h:32
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
static const std::string MPRIS_OBJECT_PATH
The default MPRIS object path for players.
Definition: MPRISPlayer.h:45