Change-Id: Iae4c20a1b8231b058c4db7f93aef0312e3bfa28d
void Pause() override
{
+ if (!IsUp())
+ {
+ return;
+ }
+
auto r = directReadingClient.method< DBus::ValueOrError< void >( bool ) > ( "PauseResume" ).call( true );
if (!r)
{
void Resume() override
{
+ if (!IsUp())
+ {
+ return;
+ }
+
auto r = directReadingClient.method< DBus::ValueOrError< void >( bool ) > ( "PauseResume" ).call( false );
if (!r)
{
void Say( const std::string& text, bool discardable, std::function< void(std::string) > callback ) override
{
+ if (!IsUp())
+ {
+ return;
+ }
+
auto commandId = directReadingClient.method< DBus::ValueOrError< std::string, bool, int32_t >( std::string, bool ) > ( "ReadCommand" ).call( text, discardable );
if ( !commandId )
{