Skip to content
com.iristick.smartglass.core

Interface VoiceEvent.Callback

Enclosing class:
VoiceEvent

public static interface VoiceEvent.Callback
Callback interface for voice command events. Implement this class and pass it to Headset.registerVoiceCommands(java.lang.String[], com.iristick.smartglass.core.VoiceEvent.Callback, android.os.Handler) to get events.

Method Summary

Modifier and Type Method and Description
void onVoiceEvent(VoiceEvent event)
Called when any voice command event occurs.

Method Detail

onVoiceEvent

void onVoiceEvent(@NonNull
                  VoiceEvent event)
Called when any voice command event occurs.
Parameters:
event - The voice command event.