public class SamSession extends Object implements Serializable
This object will grow and get updated over the course of the stream.
| Constructor and Description |
|---|
SamSession() |
SamSession(String sessionId,
Boolean isVodSession,
StreamCreateRequest streamCreateRequest,
AdBreak[] adBreaks,
DateTime startDateTime,
Long sessionDurationMillis,
Long contentDurationMillis) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AdBreak[] |
getAdBreaks()
Gets the adBreaks value for this SamSession.
|
AdBreak |
getAdBreaks(int i) |
Long |
getContentDurationMillis()
Gets the contentDurationMillis value for this SamSession.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Boolean |
getIsVodSession()
Gets the isVodSession value for this SamSession.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
Long |
getSessionDurationMillis()
Gets the sessionDurationMillis value for this SamSession.
|
String |
getSessionId()
Gets the sessionId value for this SamSession.
|
DateTime |
getStartDateTime()
Gets the startDateTime value for this SamSession.
|
StreamCreateRequest |
getStreamCreateRequest()
Gets the streamCreateRequest value for this SamSession.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAdBreaks(AdBreak[] adBreaks)
Sets the adBreaks value for this SamSession.
|
void |
setAdBreaks(int i,
AdBreak _value) |
void |
setContentDurationMillis(Long contentDurationMillis)
Sets the contentDurationMillis value for this SamSession.
|
void |
setIsVodSession(Boolean isVodSession)
Sets the isVodSession value for this SamSession.
|
void |
setSessionDurationMillis(Long sessionDurationMillis)
Sets the sessionDurationMillis value for this SamSession.
|
void |
setSessionId(String sessionId)
Sets the sessionId value for this SamSession.
|
void |
setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this SamSession.
|
void |
setStreamCreateRequest(StreamCreateRequest streamCreateRequest)
Sets the streamCreateRequest value for this SamSession.
|
String |
toString() |
public String getSessionId()
public void setSessionId(String sessionId)
sessionId - * The UUID that uniquely identifies this session.public Boolean getIsVodSession()
public void setIsVodSession(Boolean isVodSession)
isVodSession - * Whether this is a VOD session.public StreamCreateRequest getStreamCreateRequest()
public void setStreamCreateRequest(StreamCreateRequest streamCreateRequest)
streamCreateRequest - * The initial request from the video player to retrieve the streaming
URL chunks that are updated
as the stream progresses.public AdBreak[] getAdBreaks()
public void setAdBreaks(AdBreak[] adBreaks)
adBreaks - * The list of debugging information that occurred at each ad
break in the stream.public AdBreak getAdBreaks(int i)
public void setAdBreaks(int i,
AdBreak _value)
public DateTime getStartDateTime()
public void setStartDateTime(DateTime startDateTime)
startDateTime - * The date and time the session started.public Long getSessionDurationMillis()
public void setSessionDurationMillis(Long sessionDurationMillis)
sessionDurationMillis - * The duration of the session in milliseconds. For live this
is calculated by subtracting the
timestamp on the oldest log from the timestamp on
the newest log. For VOD this is the total
duration of the content plus the ads that have been
inserted.public Long getContentDurationMillis()
public void setContentDurationMillis(Long contentDurationMillis)
contentDurationMillis - * The duration of the content in milliseconds. This is for VOD
debugging only.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2026. All rights reserved.