Class BeaconEvent

  • All Implemented Interfaces:
    Event, ReplyEvent

    public final class BeaconEvent
    extends java.lang.Object
    implements Event, ReplyEvent
    Event object for when a user detects a LINE Beacon. You can reply to beacon events.
    • Method Detail

      • getSource

        public Source getSource()
        JSON object which contains the source of the event.
        Specified by:
        getSource in interface Event
      • getBeacon

        public BeaconContent getBeacon()
        Content of the beacon event.
      • getTimestamp

        public java.time.Instant getTimestamp()
        Time of the event.
        Specified by:
        getTimestamp in interface Event
      • getMode

        public EventMode getMode()
        Channel state.
        active
        The channel is active. You can send a reply message or push message from the bot server that received this webhook event.
        standby (under development)
        The channel is waiting. The bot server that received this webhook event shouldn't send any messages.
        Specified by:
        getMode in interface Event
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object