public interface TransformationListener extends EventListener
TransformationManager. Only one of the notify callbacks will be
received for each (ContentItem, Transformation)
tuple.| Modifier and Type | Field and Description |
|---|---|
static int |
REASON_CONTENTITEM_DELETED
ReasonCode: The specific content item for which the transformation was requested
has been deleted.
|
static int |
REASON_NONMATCHING_INPUT_PROFILE
ReasonCode: The content item native format isn't compatible with the requested
transformation's input content profile.
|
static int |
REASON_RESOURCE_UNAVAILABLE
ReasonCode: Some resource was not available to create the transformation.
|
static int |
REASON_UNKNOWN
ReasonCode: Transformation was not successful due to unknown reason(s).
|
| Modifier and Type | Method and Description |
|---|---|
void |
notifyTransformationFailed(ContentItem contentItem,
Transformation transformation,
int reasonCode)
Callback indicating the content binary representation for the
transformation could not be created.
|
void |
notifyTransformationReady(ContentItem contentItem,
Transformation transformation)
Callback indicating the
ContentResource for the
transformation has been created. |
static final int REASON_UNKNOWN
static final int REASON_RESOURCE_UNAVAILABLE
static final int REASON_CONTENTITEM_DELETED
static final int REASON_NONMATCHING_INPUT_PROFILE
void notifyTransformationReady(ContentItem contentItem, Transformation transformation)
ContentResource for the
transformation has been created.contentItem - affected contentItemtransformation - requested transformation on contentItemvoid notifyTransformationFailed(ContentItem contentItem, Transformation transformation, int reasonCode)
contentItem - affected contentItemtransformation - requested transformation on contentItemreasonCode - reason for the failureCopyright © 2013 CableLabs. All rights reserved.