Alexa Auto SDK  4.3
Public Member Functions | List of all members
aace::alexa::DoNotDisturb Class Referenceabstract

Public Member Functions

virtual void setDoNotDisturb (const bool doNotDisturb)=0
 
bool doNotDisturbChanged (const bool doNotDisturb)
 

Detailed Description

DoNotDisturb should be extended to handle receiving state changes from the engine, and for sending state change events for the Do Not Disturb Setting. For more information about Do Not Disturb see the interface overview: https://developer.amazon.com/docs/alexa-voice-service/donotdisturb.html

Deprecated:
This platform interface is deprecated. Use the Alexa Auto Services Bridge (AASB) message broker to publish and subscribe to AASB messages instead.
See also
aace::core::MessageBroker

Member Function Documentation

◆ setDoNotDisturb()

virtual void aace::alexa::DoNotDisturb::setDoNotDisturb ( const bool  doNotDisturb)
pure virtual

Handle setting of DND directive.

Parameters
[in]doNotDisturbsetting state

◆ doNotDisturbChanged()

bool aace::alexa::DoNotDisturb::doNotDisturbChanged ( const bool  doNotDisturb)

Notifies the Engine of a platform request to set the DND State

Parameters
[in]doNotDisturbsetting state
Returns
true if successful, false if change was rejected

Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0