クラス BeaconEvent
java.lang.Object
com.linecorp.bot.model.event.BeaconEvent
- すべての実装されたインタフェース:
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.
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
BeaconEvent.BeaconEventBuilder
-
メソッドの概要
修飾子とタイプ メソッド 説明 static BeaconEvent.BeaconEventBuilder
builder()
boolean
equals(java.lang.Object o)
BeaconContent
getBeacon()
Content of the beacon event.EventMode
getMode()
Channel state.java.lang.String
getReplyToken()
Token for replying to this event.Source
getSource()
JSON object which contains the source of the event.java.time.Instant
getTimestamp()
Time of the event.int
hashCode()
BeaconEvent.BeaconEventBuilder
toBuilder()
java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
メソッドの詳細
-
builder
-
toBuilder
-
getReplyToken
public java.lang.String getReplyToken()Token for replying to this event.- 定義:
getReplyToken
インタフェース内ReplyEvent
- 関連項目:
ReplyMessage
, Sample request Body
-
getSource
JSON object which contains the source of the event. -
getBeacon
Content of the beacon event. -
getTimestamp
public java.time.Instant getTimestamp()Time of the event.- 定義:
getTimestamp
インタフェース内Event
-
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.
-
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
-