Package com.linecorp.bot.model.event
Class VideoPlayCompleteEvent
- java.lang.Object
-
- com.linecorp.bot.model.event.VideoPlayCompleteEvent
-
- All Implemented Interfaces:
Event
,ReplyEvent
public final class VideoPlayCompleteEvent extends java.lang.Object implements Event, ReplyEvent
Event for when a user finishes viewing a video at least once with the specified trackingId sent by the LINE Official Account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VideoPlayCompleteEvent.VideoPlayComplete
static class
VideoPlayCompleteEvent.VideoPlayCompleteEventBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VideoPlayCompleteEvent.VideoPlayCompleteEventBuilder
builder()
boolean
equals(java.lang.Object o)
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.VideoPlayCompleteEvent.VideoPlayComplete
getVideoPlayComplete()
int
hashCode()
VideoPlayCompleteEvent.VideoPlayCompleteEventBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static VideoPlayCompleteEvent.VideoPlayCompleteEventBuilder builder()
-
toBuilder
public VideoPlayCompleteEvent.VideoPlayCompleteEventBuilder toBuilder()
-
getReplyToken
public java.lang.String getReplyToken()
Token for replying to this event.- Specified by:
getReplyToken
in interfaceReplyEvent
- See Also:
ReplyMessage
, Sample request Body
-
getSource
public Source getSource()
JSON object which contains the source of the event.
-
getTimestamp
public java.time.Instant getTimestamp()
Time of the event.- Specified by:
getTimestamp
in interfaceEvent
-
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.
-
getVideoPlayComplete
public VideoPlayCompleteEvent.VideoPlayComplete getVideoPlayComplete()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-