Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.tv.service.selection
Class AlternativeContentEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.tv.service.selection.ServiceContextEvent
          extended byjavax.tv.service.selection.PresentationChangedEvent
              extended byjavax.tv.service.selection.AlternativeContentEvent
All Implemented Interfaces:
java.io.Serializable

public class AlternativeContentEvent
extends PresentationChangedEvent

AlternativeContentEvent is generated to indicate that "alternative" content is being presented during the presentation of a service. Alternative content is content not actually part of the requested service, such as content related to conditional access failures (e.g., purchase dialogs or advertising for content for which the user is not yet authorized). The presentation of alternative content is always initiated by the system and never by applications.

This event will be generated in two situations:

Presentation failures enforced via a conditional access system may be reported by this event or by a SelectionFailedEvent with the CA_REFUSAL reason code. Which of these is used depends on the precise nature of the conditional access system. Applications must allow for both modes of failure.

See Also:
NormalContentEvent, SelectionFailedEvent, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AlternativeContentEvent(ServiceContext source)
          Constructs the event.
 
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
 

Constructor Detail

AlternativeContentEvent

public AlternativeContentEvent(ServiceContext source)
Constructs the event.

Parameters:
source - The ServiceContext that generated the event.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.