DoNotDisturb should be extended to handle receving 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
◆ setDoNotDisturb()
virtual void aace::alexa::DoNotDisturb::setDoNotDisturb |
( |
const bool |
doNotDisturb | ) |
|
|
pure virtual |
Handle setting of DND directive.
- Parameters
-
[in] | doNotDisturb | setting state |
◆ doNotDisturbChanged()
bool aace::alexa::DoNotDisturb::doNotDisturbChanged |
( |
const bool |
doNotDisturb | ) |
|
Notifies the Engine of a platform request to set the DND State
- Parameters
-
[in] | doNotDisturb | setting state |
- Returns
- true if successful, false if change was rejected
Alexa Auto SDK 2.3.1 - Copyright 2017-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0