public class LocationConfiguration implements MessageConfiguration
User location data.
MessageConfiguration.DefaultImpls| Constructor and Description |
|---|
LocationConfiguration(UserLocation location,
long delay)
User location data.
|
| Modifier and Type | Method and Description |
|---|---|
UserLocation |
component1() |
long |
component2() |
LocationConfiguration |
copy(UserLocation location,
long delay)
User location data.
|
boolean |
equals(java.lang.Object p) |
long |
getDelay() |
EventType |
getEventType() |
UserLocation |
getLocation() |
int |
hashCode() |
Action |
toAction(PlayerId playerId,
java.lang.String applicationId,
PlayerId recipientId,
java.util.Locale locale,
ai.tock.translator.UserInterfaceType userInterfaceType) |
java.lang.String |
toString() |
getDelay, getEventType, toAction, toActionpublic LocationConfiguration(@Nullable
UserLocation location,
long delay)
User location data.
@NotNull public EventType getEventType()
@NotNull public Action toAction(@NotNull PlayerId playerId, @NotNull java.lang.String applicationId, @NotNull PlayerId recipientId, @NotNull java.util.Locale locale, @NotNull ai.tock.translator.UserInterfaceType userInterfaceType)
@Nullable public UserLocation getLocation()
public long getDelay()
@Nullable public UserLocation component1()
public long component2()
@NotNull public LocationConfiguration copy(@Nullable UserLocation location, long delay)
User location data.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)