public class PresentationChangedEvent extends ControllerEvent
| Modifier and Type | Field and Description |
|---|---|
static int |
CA_FAILURE
Presentation changed due an action by the CA subsystem.
|
static int |
CA_RETURNED
Presentation changed due to an action by the CA subsystem.
|
static int |
STREAM_UNAVAILABLE
The stream being presented is no longer available in the transport stream.
|
source| Constructor and Description |
|---|
PresentationChangedEvent(Controller source,
MediaLocator stream,
int reason)
Constructor for the event
|
| Modifier and Type | Method and Description |
|---|---|
int |
getReason()
This method returns the reason why access has been withdrawn.
|
MediaLocator |
getStream()
This method returns the locator for the stream now being presented.
|
getSource, getSourceController, toStringpublic static final int STREAM_UNAVAILABLE
getReason(),
Constant Field Valuespublic static final int CA_FAILURE
getReason(),
Constant Field Valuespublic static final int CA_RETURNED
getReason(),
Constant Field Valuespublic PresentationChangedEvent(Controller source, MediaLocator stream, int reason)
source - the controller whose presentation changedstream - the stream now being presented.reason - the reason for the change encoded as one of the constants in this classpublic MediaLocator getStream()
public int getReason()
Copyright © 2012 code4tv.com. All Rights Reserved.