AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::mediaPlayer::android::test::MockCallback Class Reference

Mock status callback. More...

Public Member Functions

void callback (AndroidSLESMediaQueue::QueueEvent event, const std::string &reason)
 Method that expectations should be based on. More...
 
bool waitCallback (const AndroidSLESMediaQueue::QueueEvent &expectedEvent)
 Method used to wait for the callback call. It returns the status it received. More...
 

Detailed Description

Mock status callback.

Member Function Documentation

◆ callback()

void alexaClientSDK::mediaPlayer::android::test::MockCallback::callback ( AndroidSLESMediaQueue::QueueEvent  event,
const std::string &  reason 
)

Method that expectations should be based on.

◆ waitCallback()

bool alexaClientSDK::mediaPlayer::android::test::MockCallback::waitCallback ( const AndroidSLESMediaQueue::QueueEvent expectedEvent)

Method used to wait for the callback call. It returns the status it received.


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0