-
- All Implemented Interfaces:
-
ai.tock.bot.connector.Connector
public final class SampleRestConnector extends ConnectorBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSampleRestConnector.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringapplicationIdprivate final Stringpathprivate final ConnectorTypeconnectorTypeprivate final Set<ConnectorFeature>supportedFeatures
-
Method Summary
Modifier and Type Method Description Unitregister(ConnectorController controller)Unitsend(Event event, ConnectorCallback callback, Long delayInMs)UserPreferencesloadProfile(ConnectorCallback callback, PlayerId userId)final StringgetApplicationId()final StringgetPath()ConnectorTypegetConnectorType()Set<ConnectorFeature>getSupportedFeatures()-
Methods inherited from class ai.tock.bot.connector.ConnectorBase
addSuggestions, addSuggestions, hasFeature, notify, refreshProfile, toConnectorMessage, unregister -
Methods inherited from class ai.tock.bot.connector.Connector
equals, hashCode -
Methods inherited from class ai.tock.bot.open.data.connector.SampleRestConnector
toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
loadProfile
UserPreferences loadProfile(ConnectorCallback callback, PlayerId userId)
-
getApplicationId
final String getApplicationId()
-
getConnectorType
ConnectorType getConnectorType()
-
getSupportedFeatures
Set<ConnectorFeature> getSupportedFeatures()
-
-
-
-