2017-09-07 8 views
1

私は、次のコードを使用してmp3出力Alexaのスキルの意図があります。私はSOMESTATEに次のように定義した停止アマゾンアレクサオーディオ出力

intentName() { 
    this.handler.state = states.SOMESTATE; 
    this.response.audioPlayerPlay('REPLACE_ALL', audio.url, '1', null, 0); 
} 

をしてnewSessionHandlersハンドラ:

'AMAZON.StopIntent' = function() { 
    this.response.audioPlayerStop(); 
    this.emit(':responseReady'); 
} 

をしかし、私が「Alexa、stop」と言ったとき、上で定義した停止意図は呼ばれません。代わりにnewSessionsHandlersUnhandledのインテントが呼び出されています。どうしてこれなの?

答えて

1

ALEXA.PauseIntentnewSessionHandlersに定義した場合、私は愚かです。

関連する問題