question: private void handleResponse ( AvsResponse response ) { mEventManager . post ( new CommandEvent ( CommandEvent . TYPE_COMMAND_SEARCHING , KEYWORD_ALEXA ) ) ; if ( response != null ) { for ( int i = response . size ( ) - 1 ; i >= 0 ; i -- ) { if ( response . get ( i ) instanceof AvsReplaceAllItem || response . get ( i ) instanceof AvsReplaceEnqueuedItem ) { mAvsQueue . clear ( ) ; response . remove ( i ) ; } } Timber . i ( "Adding %s items to our queue" , response . size ( ) ) ; mAvsQueue . addAll ( response ) ; } checkQueue ( ) ; }
target:  Handle the response sent back from Alexa's parsing of the Intent, these can be any of the AvsItem types (play, speak, stop, clear, listen)