public class Event
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Event.Builder |
static class |
Event.EventWrapper |
static class |
Event.Header |
static class |
Event.Payload |
Constructor and Description |
---|
Event() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getExpectSpeechTimedOutEvent() |
Event.Header |
getHeader() |
static java.lang.String |
getMuteEvent(boolean isMute) |
Event.Payload |
getPayload() |
static java.lang.String |
getSpeechRecognizerEvent() |
static java.lang.String |
getSynchronizeStateEvent() |
static java.lang.String |
getVolumeChangedEvent(long volume,
boolean isMute) |
void |
setHeader(Event.Header header) |
void |
setPayload(Event.Payload payload) |
public Event.Header getHeader()
public void setHeader(Event.Header header)
public Event.Payload getPayload()
public void setPayload(Event.Payload payload)
public static java.lang.String getSpeechRecognizerEvent()
public static java.lang.String getVolumeChangedEvent(long volume, boolean isMute)
public static java.lang.String getMuteEvent(boolean isMute)
public static java.lang.String getExpectSpeechTimedOutEvent()
public static java.lang.String getSynchronizeStateEvent()