クラス ThingsEvent

java.lang.Object
com.linecorp.bot.model.event.ThingsEvent
すべての実装されたインタフェース:
Event, ReplyEvent

public final class ThingsEvent
extends java.lang.Object
implements Event, ReplyEvent
Event object for when a user detects a LINE Things.
  • メソッドの詳細

    • builder

      public static ThingsEvent.ThingsEventBuilder builder()
    • toBuilder

      public ThingsEvent.ThingsEventBuilder toBuilder()
    • getReplyToken

      public java.lang.String getReplyToken()
      Token for replying to this event.
      定義:
      getReplyToken インタフェース内 ReplyEvent
      関連項目:
      ReplyMessage, Sample request Body
    • getSource

      public Source getSource()
      JSON object which contains the source of the event.
      定義:
      getSource インタフェース内 Event
    • getThings

      public ThingsContent getThings()
      Content of the things event.
    • getTimestamp

      public java.time.Instant getTimestamp()
      Time of the event.
      定義:
      getTimestamp インタフェース内 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.
      定義:
      getMode インタフェース内 Event
    • equals

      public boolean equals​(java.lang.Object o)
      オーバーライド:
      equals クラス内 java.lang.Object
    • hashCode

      public int hashCode()
      オーバーライド:
      hashCode クラス内 java.lang.Object
    • toString

      public java.lang.String toString()
      オーバーライド:
      toString クラス内 java.lang.Object