Sub kitt_soundStart(e As BANanoEvent)
Log("kitt_soundStart")
End Sub
Sub kitt_end(e As BANanoEvent)
'app.ShowToastSuccess("KITT", "The Speech Command has ended!")
app.SetElementVisible("kittpause", True)
app.SetElementVisible("kittresume", False)
app.SetElementVisible("kitton", True)
app.SetElementVisible("kittoff", False)
End Sub
Sub kitt_start(e As BANanoEvent)
'app.ShowToastSuccess("KITT", "The Speech Command has been started!")
app.SetElementVisible("kittpause", True)
app.SetElementVisible("kittresume", False)
app.SetElementVisible("kitton", False)
app.SetElementVisible("kittoff", True)
End Sub
Sub kitt_error(e As BANanoEvent)
app.ShowToastError("KITT", "The Speech Command experienced an error!")
End Sub
Sub kitt_errorNetwork(e As BANanoEvent)
app.ShowToastError("KITT", "The Speech Command experienced a network error!")
End Sub
Sub kitt_errorPermissionBlocked(e As BANanoEvent)
app.ShowToastError("KITT", "The Speech Command experienced a permission blocked error!")
End Sub
Sub kitt_errorPermissionDenied(e As BANanoEvent)
app.ShowToastError("KITT", "The Speech Command experienced a permission denied error!")
End Sub