Package video.api.client.api.models
Class PlayerSessionEvent
- java.lang.Object
-
- video.api.client.api.models.PlayerSessionEvent
-
- All Implemented Interfaces:
Serializable,DeepObject
public class PlayerSessionEvent extends Object implements Serializable, DeepObject
PlayerSessionEvent- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ATstatic StringSERIALIZED_NAME_EMITTED_ATstatic StringSERIALIZED_NAME_FROMstatic StringSERIALIZED_NAME_TOstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description PlayerSessionEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlayerSessionEventat(Integer at)PlayerSessionEventemittedAt(OffsetDateTime emittedAt)booleanequals(Object o)PlayerSessionEventfrom(Integer from)IntegergetAt()Get atOffsetDateTimegetEmittedAt()When an event occurred, presented in ATOM UTC format.IntegergetFrom()Get fromIntegergetTo()Get toStringgetType()Possible values are: ready, play, pause, resume, seek.backward, seek.forward, endinthashCode()voidsetAt(Integer at)voidsetEmittedAt(OffsetDateTime emittedAt)voidsetFrom(Integer from)voidsetTo(Integer to)voidsetType(String type)PlayerSessionEventto(Integer to)StringtoString()PlayerSessionEventtype(String type)
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMITTED_AT
public static final String SERIALIZED_NAME_EMITTED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AT
public static final String SERIALIZED_NAME_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_FROM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TO
public static final String SERIALIZED_NAME_TO
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public PlayerSessionEvent type(String type)
-
getType
@Nullable public String getType()
Possible values are: ready, play, pause, resume, seek.backward, seek.forward, end- Returns:
- type
-
setType
public void setType(String type)
-
emittedAt
public PlayerSessionEvent emittedAt(OffsetDateTime emittedAt)
-
getEmittedAt
@Nullable public OffsetDateTime getEmittedAt()
When an event occurred, presented in ATOM UTC format.- Returns:
- emittedAt
-
setEmittedAt
public void setEmittedAt(OffsetDateTime emittedAt)
-
at
public PlayerSessionEvent at(Integer at)
-
getAt
@Nullable public Integer getAt()
Get at- Returns:
- at
-
setAt
public void setAt(Integer at)
-
from
public PlayerSessionEvent from(Integer from)
-
getFrom
@Nullable public Integer getFrom()
Get from- Returns:
- from
-
setFrom
public void setFrom(Integer from)
-
to
public PlayerSessionEvent to(Integer to)
-
getTo
@Nullable public Integer getTo()
Get to- Returns:
- to
-
setTo
public void setTo(Integer to)
-
-