public interface StreamingActivityListener extends EventListener
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVITY_END_ACCESS_WITHDRAWN |
static int |
ACTIVITY_END_NETWORK_TIMEOUT |
static int |
ACTIVITY_END_OTHER |
static int |
ACTIVITY_END_RESOURCE_REMOVED |
static int |
ACTIVITY_END_SERVICE_VANISHED
Reason for activity ended.
|
static int |
ACTIVITY_END_USER_STOP |
static int |
CONTENT_TYPE_ALL_RESOURCES
contentTypes.
|
static int |
CONTENT_TYPE_LIVE_RESOURCES |
static int |
CONTENT_TYPE_RECORDED_RESOURCES |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyStreamingChange(ContentItem contentItem,
int activityID,
String URI,
org.davic.net.tuning.NetworkInterface tuner)
Notifies the
StreamingActivityListener when streaming parameter
on this activity such as tuning parameter changes |
void |
notifyStreamingEnded(ContentItem contentItem,
int activityID,
int reasonOfEnd)
Notifies the
StreamingActivityListener when content
streaming to the home network in response to a request
for ContentItem streaming has ended. |
void |
notifyStreamingStarted(ContentItem contentItem,
int activityID,
String URI,
org.davic.net.tuning.NetworkInterface tuner)
Notifies the
StreamingActivityListener when content begins
streaming the content to the home network in response to a request
for ContentItem streaming. |
static final int ACTIVITY_END_SERVICE_VANISHED
static final int ACTIVITY_END_RESOURCE_REMOVED
static final int ACTIVITY_END_ACCESS_WITHDRAWN
static final int ACTIVITY_END_USER_STOP
static final int ACTIVITY_END_NETWORK_TIMEOUT
static final int ACTIVITY_END_OTHER
static final int CONTENT_TYPE_ALL_RESOURCES
static final int CONTENT_TYPE_LIVE_RESOURCES
static final int CONTENT_TYPE_RECORDED_RESOURCES
void notifyStreamingStarted(ContentItem contentItem, int activityID, String URI, org.davic.net.tuning.NetworkInterface tuner)
StreamingActivityListener when content begins
streaming the content to the home network in response to a request
for ContentItem streaming.contentItem - The ContentItem requested.activityID - A unique value assigned by the implementation for this
streaming activity.URI - the URI of the content that's been requested.tuner - The NetworkInterface representing the tuner
the content is being streamed from if used. The value will be null
if no tuner is used.void notifyStreamingChange(ContentItem contentItem, int activityID, String URI, org.davic.net.tuning.NetworkInterface tuner)
StreamingActivityListener when streaming parameter
on this activity such as tuning parameter changescontentItem - The ContentItem associated with this activityactivityID - A unique value assigned by the implementation for this
streaming activity.URI - the URI of the content that's been changed.tuner - The NetworkInterface representing the tuner
the content is being streamed from if used. The value will be null
if no tuner is used.void notifyStreamingEnded(ContentItem contentItem, int activityID, int reasonOfEnd)
StreamingActivityListener when content
streaming to the home network in response to a request
for ContentItem streaming has ended.contentItem - The ContentItem requested.activityID - A unique value assigned by the implementation for this
streaming activity.reasonOfEnd - Unique value defined in this class for the end of this
streaming activityCopyright © 2013 CableLabs. All Rights Reserved.