Class LaunchMediaRequest
- java.lang.Object
-
- aero.panasonic.inflight.services.pairing.v1.LaunchMediaRequest
-
public class LaunchMediaRequest extends java.lang.ObjectThe LaunchMediaRequest class encapsulates the media request to be launched.
-
-
Constructor Summary
Constructors Constructor Description LaunchMediaRequest(JSONObject args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCategoryId()Gets the unique identifier for the category.java.lang.StringgetContentType()Gets the type of content, such as movie, tv show or album.intgetElapsedTime()Gets the amount of time that the media has played.java.lang.StringgetMediaUri()Gets the media URI for the media.java.lang.StringgetParentMediaUri()Gets the parent media URI for the media.java.lang.StringgetPlayerId()Gets the unique identifier for the media player.java.lang.StringgetSoundtrack()Gets the ISO 639-2 language code for the media soundtrack.java.lang.StringgetSoundtrackType()Gets the soundtrack typejava.lang.StringgetSubtitle()Gets the ISO 639-2 language code for the media subtitle.java.lang.StringgetSubtitleType()Get the subtitle typejava.lang.StringgetVolume()Gets the volume of the media.voidsetPlayerId(java.lang.String playerId)Sets the unique identifier for the media player.voidsetSoundtrackType(java.lang.String soundtrackType)Sets the soundtrack typevoidsetSubtitleType(java.lang.String subtitleType)Sets the subtitle typejava.lang.StringtoString()
-
-
-
Method Detail
-
getPlayerId
public java.lang.String getPlayerId()
Gets the unique identifier for the media player.- Returns:
- playerId
-
getMediaUri
public java.lang.String getMediaUri()
Gets the media URI for the media.- Returns:
- media URI URI for the specified media
-
getParentMediaUri
public java.lang.String getParentMediaUri()
Gets the parent media URI for the media.- Returns:
- parent media URI URI for the parent media
-
getContentType
public java.lang.String getContentType()
Gets the type of content, such as movie, tv show or album.- Returns:
- content type Type of content, such as movie, tv show or album
-
getSubtitle
public java.lang.String getSubtitle()
Gets the ISO 639-2 language code for the media subtitle.- Returns:
- subtitle ISO 639-2 language code for the subtitle
-
getSoundtrack
public java.lang.String getSoundtrack()
Gets the ISO 639-2 language code for the media soundtrack.- Returns:
- soundtrack ISO 639-2 language code for the soundtrack
-
getVolume
public java.lang.String getVolume()
Gets the volume of the media.
Volume is specified from 0 to 100.- Returns:
- volume Volume level from 0 to 100
-
getCategoryId
public java.lang.String getCategoryId()
Gets the unique identifier for the category.
-
getElapsedTime
public int getElapsedTime()
Gets the amount of time that the media has played.
Elapsed time is specified in seconds.- Returns:
- elapsed time Number of seconds the media has played
-
setPlayerId
public void setPlayerId(java.lang.String playerId)
Sets the unique identifier for the media player.
-
getSubtitleType
public java.lang.String getSubtitleType()
Get the subtitle type
-
setSubtitleType
public void setSubtitleType(java.lang.String subtitleType)
Sets the subtitle type- Parameters:
subtitleType- type of subtitle
-
getSoundtrackType
public java.lang.String getSoundtrackType()
Gets the soundtrack type
-
setSoundtrackType
public void setSoundtrackType(java.lang.String soundtrackType)
Sets the soundtrack type
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-