Package video.api.client.api.models
Class PlayerTheme
- java.lang.Object
-
- video.api.client.api.models.PlayerTheme
-
- All Implemented Interfaces:
Serializable
public class PlayerTheme extends Object implements Serializable
PlayerTheme- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayerTheme()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_TEXT
public static final String SERIALIZED_NAME_TEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINK
public static final String SERIALIZED_NAME_LINK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINK_HOVER
public static final String SERIALIZED_NAME_LINK_HOVER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRACK_PLAYED
public static final String SERIALIZED_NAME_TRACK_PLAYED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRACK_UNPLAYED
public static final String SERIALIZED_NAME_TRACK_UNPLAYED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRACK_BACKGROUND
public static final String SERIALIZED_NAME_TRACK_BACKGROUND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BACKGROUND_TOP
public static final String SERIALIZED_NAME_BACKGROUND_TOP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BACKGROUND_BOTTOM
public static final String SERIALIZED_NAME_BACKGROUND_BOTTOM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BACKGROUND_TEXT
public static final String SERIALIZED_NAME_BACKGROUND_TEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLE_API
public static final String SERIALIZED_NAME_ENABLE_API
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLE_CONTROLS
public static final String SERIALIZED_NAME_ENABLE_CONTROLS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORCE_AUTOPLAY
public static final String SERIALIZED_NAME_FORCE_AUTOPLAY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HIDE_TITLE
public static final String SERIALIZED_NAME_HIDE_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORCE_LOOP
public static final String SERIALIZED_NAME_FORCE_LOOP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYER_ID
public static final String SERIALIZED_NAME_PLAYER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHAPE_MARGIN
public static final String SERIALIZED_NAME_SHAPE_MARGIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHAPE_RADIUS
public static final String SERIALIZED_NAME_SHAPE_RADIUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHAPE_ASPECT
public static final String SERIALIZED_NAME_SHAPE_ASPECT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHAPE_BACKGROUND_TOP
public static final String SERIALIZED_NAME_SHAPE_BACKGROUND_TOP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHAPE_BACKGROUND_BOTTOM
public static final String SERIALIZED_NAME_SHAPE_BACKGROUND_BOTTOM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINK_ACTIVE
public static final String SERIALIZED_NAME_LINK_ACTIVE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASSETS
public static final String SERIALIZED_NAME_ASSETS
- See Also:
- Constant Field Values
-
-
Method Detail
-
text
public PlayerTheme text(String text)
-
getText
@Nullable public String getText()
RGBA color for timer text. Default: rgba(255, 255, 255, 1)- Returns:
- text
-
setText
public void setText(String text)
-
link
public PlayerTheme link(String link)
-
getLink
@Nullable public String getLink()
RGBA color for all controls. Default: rgba(255, 255, 255, 1)- Returns:
- link
-
setLink
public void setLink(String link)
-
linkHover
public PlayerTheme linkHover(String linkHover)
-
getLinkHover
@Nullable public String getLinkHover()
RGBA color for all controls when hovered. Default: rgba(255, 255, 255, 1)- Returns:
- linkHover
-
setLinkHover
public void setLinkHover(String linkHover)
-
trackPlayed
public PlayerTheme trackPlayed(String trackPlayed)
-
getTrackPlayed
@Nullable public String getTrackPlayed()
RGBA color playback bar: played content. Default: rgba(88, 131, 255, .95)- Returns:
- trackPlayed
-
setTrackPlayed
public void setTrackPlayed(String trackPlayed)
-
trackUnplayed
public PlayerTheme trackUnplayed(String trackUnplayed)
-
getTrackUnplayed
@Nullable public String getTrackUnplayed()
RGBA color playback bar: downloaded but unplayed (buffered) content. Default: rgba(255, 255, 255, .35)- Returns:
- trackUnplayed
-
setTrackUnplayed
public void setTrackUnplayed(String trackUnplayed)
-
trackBackground
public PlayerTheme trackBackground(String trackBackground)
-
getTrackBackground
@Nullable public String getTrackBackground()
RGBA color playback bar: background. Default: rgba(255, 255, 255, .2)- Returns:
- trackBackground
-
setTrackBackground
public void setTrackBackground(String trackBackground)
-
backgroundTop
public PlayerTheme backgroundTop(String backgroundTop)
-
getBackgroundTop
@Nullable public String getBackgroundTop()
RGBA color: top 50% of background. Default: rgba(0, 0, 0, .7)- Returns:
- backgroundTop
-
setBackgroundTop
public void setBackgroundTop(String backgroundTop)
-
backgroundBottom
public PlayerTheme backgroundBottom(String backgroundBottom)
-
getBackgroundBottom
@Nullable public String getBackgroundBottom()
RGBA color: bottom 50% of background. Default: rgba(0, 0, 0, .7)- Returns:
- backgroundBottom
-
setBackgroundBottom
public void setBackgroundBottom(String backgroundBottom)
-
backgroundText
public PlayerTheme backgroundText(String backgroundText)
-
getBackgroundText
@Nullable public String getBackgroundText()
RGBA color for title text. Default: rgba(255, 255, 255, 1)- Returns:
- backgroundText
-
setBackgroundText
public void setBackgroundText(String backgroundText)
-
enableApi
public PlayerTheme enableApi(Boolean enableApi)
-
getEnableApi
@Nullable public Boolean getEnableApi()
enable/disable player SDK access. Default: true- Returns:
- enableApi
-
setEnableApi
public void setEnableApi(Boolean enableApi)
-
enableControls
public PlayerTheme enableControls(Boolean enableControls)
-
getEnableControls
@Nullable public Boolean getEnableControls()
enable/disable player controls. Default: true- Returns:
- enableControls
-
setEnableControls
public void setEnableControls(Boolean enableControls)
-
forceAutoplay
public PlayerTheme forceAutoplay(Boolean forceAutoplay)
-
getForceAutoplay
@Nullable public Boolean getForceAutoplay()
enable/disable player autoplay. Default: false- Returns:
- forceAutoplay
-
setForceAutoplay
public void setForceAutoplay(Boolean forceAutoplay)
-
hideTitle
public PlayerTheme hideTitle(Boolean hideTitle)
-
getHideTitle
@Nullable public Boolean getHideTitle()
enable/disable title. Default: false- Returns:
- hideTitle
-
setHideTitle
public void setHideTitle(Boolean hideTitle)
-
forceLoop
public PlayerTheme forceLoop(Boolean forceLoop)
-
getForceLoop
@Nullable public Boolean getForceLoop()
enable/disable looping. Default: false- Returns:
- forceLoop
-
setForceLoop
public void setForceLoop(Boolean forceLoop)
-
playerId
public PlayerTheme playerId(String playerId)
-
getPlayerId
public String getPlayerId()
Get playerId- Returns:
- playerId
-
setPlayerId
public void setPlayerId(String playerId)
-
createdAt
public PlayerTheme createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
When the player was created, presented in ISO-8601 format.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public PlayerTheme updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
When the player was last updated, presented in ISO-8601 format.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
shapeMargin
public PlayerTheme shapeMargin(Integer shapeMargin)
-
getShapeMargin
@Nullable public Integer getShapeMargin()
Deprecated- Returns:
- shapeMargin
-
setShapeMargin
public void setShapeMargin(Integer shapeMargin)
-
shapeRadius
public PlayerTheme shapeRadius(Integer shapeRadius)
-
getShapeRadius
@Nullable public Integer getShapeRadius()
Deprecated- Returns:
- shapeRadius
-
setShapeRadius
public void setShapeRadius(Integer shapeRadius)
-
shapeAspect
public PlayerTheme shapeAspect(String shapeAspect)
-
getShapeAspect
@Nullable public String getShapeAspect()
Deprecated- Returns:
- shapeAspect
-
setShapeAspect
public void setShapeAspect(String shapeAspect)
-
shapeBackgroundTop
public PlayerTheme shapeBackgroundTop(String shapeBackgroundTop)
-
getShapeBackgroundTop
@Nullable public String getShapeBackgroundTop()
Deprecated- Returns:
- shapeBackgroundTop
-
setShapeBackgroundTop
public void setShapeBackgroundTop(String shapeBackgroundTop)
-
shapeBackgroundBottom
public PlayerTheme shapeBackgroundBottom(String shapeBackgroundBottom)
-
getShapeBackgroundBottom
@Nullable public String getShapeBackgroundBottom()
Deprecated- Returns:
- shapeBackgroundBottom
-
setShapeBackgroundBottom
public void setShapeBackgroundBottom(String shapeBackgroundBottom)
-
linkActive
public PlayerTheme linkActive(String linkActive)
-
getLinkActive
@Nullable public String getLinkActive()
Deprecated- Returns:
- linkActive
-
setLinkActive
public void setLinkActive(String linkActive)
-
assets
public PlayerTheme assets(PlayerThemeAssets assets)
-
getAssets
@Nullable public PlayerThemeAssets getAssets()
Get assets- Returns:
- assets
-
setAssets
public void setAssets(PlayerThemeAssets assets)
-
-