Alexa Auto SDK  2.3.1
Public Member Functions | List of all members
com.amazon.aace.alexa.DoNotDisturb Class Reference

Public Member Functions

void setDoNotDisturb (boolean doNotDisturb)
 
final boolean doNotDisturbChanged (boolean doNotDisturb)
 

Detailed Description

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

Member Function Documentation

◆ setDoNotDisturb()

void com.amazon.aace.alexa.DoNotDisturb.setDoNotDisturb ( boolean  doNotDisturb)

Handle setting of DND directive.

Parameters
doNotDisturbsetting state
Returns
true if the platform implementation successfully handled the call, else false

◆ doNotDisturbChanged()

final boolean com.amazon.aace.alexa.DoNotDisturb.doNotDisturbChanged ( boolean  doNotDisturb)

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

Returns
true if the engine implementation successfully sent the event, else false

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