T - skill response typepublic interface SkillResponse<T>
AlexaSkill.| Modifier and Type | Method and Description |
|---|---|
byte[] |
getRawResponse()
Returns the skill's response as a byte array.
|
T |
getResponse()
Returns the skill's response.
|
boolean |
isPresent()
Returns true if a response was produced by the skill.
|
void |
writeTo(OutputStream stream)
Writes the skill's response to an
OutputStream. |
boolean isPresent()
T getResponse()
byte[] getRawResponse()
void writeTo(OutputStream stream)
OutputStream.stream - stream to write toCopyright © 2023. All rights reserved.