-
- All Implemented Interfaces:
-
ai.tock.bot.connector.Connector
public final class AlexaConnector extends ConnectorBaseConnector for Amazon Alexa.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAlexaConnector.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringapplicationIdprivate final Stringpathprivate final AlexaTockMapperalexaTockMapperprivate final ConnectorTypeconnectorTypeprivate final Set<ConnectorFeature>supportedFeatures
-
Method Summary
Modifier and Type Method Description Unitregister(ConnectorController controller)Unitsend(Event event, ConnectorCallback callback, Long delayInMs)Function1<BotBus, List<ConnectorMessage>>toConnectorMessage(MediaMessage message)final StringgetApplicationId()final StringgetPath()final AlexaTockMappergetAlexaTockMapper()ConnectorTypegetConnectorType()Set<ConnectorFeature>getSupportedFeatures()-
Methods inherited from class ai.tock.bot.connector.ConnectorBase
addSuggestions, addSuggestions, hasFeature, loadProfile, notify, refreshProfile, unregister -
Methods inherited from class ai.tock.bot.connector.Connector
equals, hashCode -
Methods inherited from class ai.tock.bot.connector.alexa.AlexaConnector
toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
toConnectorMessage
Function1<BotBus, List<ConnectorMessage>> toConnectorMessage(MediaMessage message)
-
getApplicationId
final String getApplicationId()
-
getAlexaTockMapper
final AlexaTockMapper getAlexaTockMapper()
-
getConnectorType
ConnectorType getConnectorType()
-
getSupportedFeatures
Set<ConnectorFeature> getSupportedFeatures()
-
-
-
-