|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.tv.service.selection.ServiceContextEvent
javax.tv.service.selection.PresentationChangedEvent
javax.tv.service.selection.AlternativeContentEvent
org.ocap.service.AlternativeContentErrorEvent
public class AlternativeContentErrorEvent
AlternativeContentErrorEvent
is generated to indicate that
"alternative" content is being presented due to an error that
prevents the presentation of normal content as part of selection
of a service and during presentation of that selected service.
This event will be generated instead of SelectionFailedEvent
where normal content could not be presented due to the following situations:
ServiceContentHandler
required to present the requested service.
This event will be generated instead of PresentationTerminatedEvent
where normal content presentation could not continue due to the following
situations:
ServiceContentHandler
required to present the requested service.
SelectionFailedEvent
,
PresentationTerminatedEvent
,
AlternativeContentEvent
,
Serialized FormField Summary | |
---|---|
static int |
CA_REFUSAL
Reason code: Normal content could not be presented due to the CA system refusing to permit it. |
static int |
CONTENT_NOT_FOUND
Reason code : Normal content could not be presented because the requested content could not be found in the network. |
static int |
MISSING_HANDLER
Reason code : Normal content could not be presented due to absence of a ServiceContentHandler required to present the requested
service's content. |
static int |
RATING_PROBLEM
Reason code: Normal content could not be presented due to a parental control rating problem. |
static int |
TUNING_FAILURE
Reason code : Normal content could not be presented due to problems with tuning. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
AlternativeContentErrorEvent(javax.tv.service.selection.ServiceContext source,
int reason)
Constructs an event with a reason code. |
Method Summary | |
---|---|
int |
getReason()
Reports the reason why alternative content is being presented. |
Methods inherited from class javax.tv.service.selection.ServiceContextEvent |
---|
getServiceContext |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int RATING_PROBLEM
public static final int CA_REFUSAL
public static final int CONTENT_NOT_FOUND
public static final int MISSING_HANDLER
ServiceContentHandler
required to present the requested
service's content.
ServiceContentHandler
,
Constant Field Valuespublic static final int TUNING_FAILURE
Constructor Detail |
---|
public AlternativeContentErrorEvent(javax.tv.service.selection.ServiceContext source, int reason)
source
- The ServiceContext
that generated the event.reason
- The reason why alternative content is being presented.Method Detail |
---|
public int getReason()
RATING_PROBLEM
,
CA_REFUSAL
,
CONTENT_NOT_FOUND
,
MISSING_HANDLER
,
or
TUNING_FAILURE
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |