Packagecom.adobe.mediacore.notifications
Classpublic class NotificationCodes
InheritanceNotificationCodes Inheritance Object

Class providing numeric constants for the notification objects used in P-SDK to notify informational messages, warnings and errors



Public Methods
 MethodDefined By
  
getDescriptionForCode(code:uint):String
[static] Returns the description associated with the provided code
NotificationCodes
Public Constants
 ConstantDefined By
  AD_CONTENT_REPLACED_IN_TRICKPLAY : Number = 205
[static] Code for a warning notification used to notify that the ad has been replaced by the main content during trick play
NotificationCodes
  AD_INSERTION_FAIL : Number = 202
[static] Code for a warning notification used to notify that a problem occurred with the insertion of an ad
NotificationCodes
  AD_METADATA_INVALID : Number = 2020
[static] Code for a warning notification used to notify that the provided ad metadata is invalid
NotificationCodes
  AD_RESOLVER_FAIL : Number = 201
[static] Code for a warning notification used to notify that a problem occurred with the ad resolver
NotificationCodes
  AD_RESOLVER_RESOLVE_FAIL : Number = 2022
[static] Code for a warning notification used to notify that the ad resolver could not resolve an avail
NotificationCodes
  AD_SIGNALING_MODE_INVALID : Number = 201001
[static] Code for a warning notification used to notify that the desired ad signaling mode does not have a valid value.
NotificationCodes
  AD_UNREACHABLE : Number = 2030
[static] Code for a warning notification used to notify that an ad is unreachable
NotificationCodes
  ALL_DOWNLOAD_RETRIES_FAIL : Number = 101005
[static] Code for a error notification used to notify that all download retries failed for resource.
NotificationCodes
  AUDIO_TRACK_CHANGE : Number = 304000
[static] Code for an informational notification used to notify that the audio track has been changed
NotificationCodes
  BITRATE_CHANGE : Number = 302000
[static] Code for an informational notification used to notify that the bitrate of the video has changed
NotificationCodes
  BOOTSTRAP_ERROR : Number = 101003
[static] Code for a error notification used to notify that an error related to bootstrap occured
NotificationCodes
  CONTENT_ERROR : Number = 101004
[static] Code for a error notification used to notify that an error related to content occured
NotificationCodes
  CORRUPTED_DATA : Number = 101007
[static] Code for an error notification used to notify that a piece of data is corrupted.
NotificationCodes
  DRM_ADDITIONAL_HEADERS_ERROR : Number = 101010
[static] Code for an error notification used to notify that an error related to DRM additional headers occured.
NotificationCodes
  DRM_ERROR : Number = 100000
[static] Code for an error notification used to notify that a DRM error has occurred
NotificationCodes
  FAILOVER_COMPLETE : Number = 306000
[static] Code for an informational notification used to notify that the failover operation has completed sucessfully
NotificationCodes
  FAILOVER_START : Number = 203000
[static] Code for a warning notification used to notify that a failover operation has just started.
NotificationCodes
  INVALID_MEDIA_PLAYER_ITEM : Number = 102000
[static] Code for an error notification used to notify that the Media Player Item is invalid
NotificationCodes
  MANIFEST_ERROR : Number = 101002
[static] Code for a error notification used to notify that an error related to manifest occured
NotificationCodes
  NATIVE_PLAYBACK_ERROR : Number = 101001
[static] Code for an error notification used to notify that a native playback error has occurred
NotificationCodes
  NOT_SUPPORTED_RESOURCE : Number = 102001
[static] Code for an error notification used to notify that the format of the Media Player Item's Resource is not supported
NotificationCodes
  PLAYBACK_COMPLETE : Number = 300001
[static] Code for an informational notification used to notify that playback has completed
NotificationCodes
  PLAYBACK_ERROR : Number = 101000
[static] Code for an error notification used to notify that a playback error has occurred
NotificationCodes
  PLAYBACK_RATE_CHANGE : Number = 301000
[static] Code for an informational notification used to notify that the playback rate (speed) has changed
NotificationCodes
  PLAYBACK_START : Number = 300000
[static] Code for an informational notification used to notify that playback has started
NotificationCodes
  SECURITY_ERROR : Number = 101006
[static] Code for an error notification used to notify that a security violation occured on the resource download.
NotificationCodes
  SEEK_COMPLETE : Number = 300003
[static] Code for an informational notification used to notify that a seek operation has completed
NotificationCodes
  SEEK_START : Number = 300002
[static] Code for an informational notification used to notify that a seek operation was initiated
NotificationCodes
  TIMELINE_CHANGE : Number = 303000
[static] Code for an informational notification used to notify that the timeline has changed (e.g.
NotificationCodes
  TRACKING_ERROR : Number = 108000
[static] Code for a warning notification used to notify that a tracking error has occurred
NotificationCodes
  TRACKING_FAIL : Number = 202000
[static] Code for a warning notification used to notify that a tracking failure has occurred (SiteCatalyst or RealTime Analytics)
NotificationCodes
Method Detail
getDescriptionForCode()method
public static function getDescriptionForCode(code:uint):String

Returns the description associated with the provided code

Parameters

code:uint — The code whose description is sought

Returns
String
Constant Detail
AD_CONTENT_REPLACED_IN_TRICKPLAYConstant
public static const AD_CONTENT_REPLACED_IN_TRICKPLAY:Number = 205

Code for a warning notification used to notify that the ad has been replaced by the main content during trick play

AD_INSERTION_FAILConstant 
public static const AD_INSERTION_FAIL:Number = 202

Code for a warning notification used to notify that a problem occurred with the insertion of an ad

AD_METADATA_INVALIDConstant 
public static const AD_METADATA_INVALID:Number = 2020

Code for a warning notification used to notify that the provided ad metadata is invalid

AD_RESOLVER_FAILConstant 
public static const AD_RESOLVER_FAIL:Number = 201

Code for a warning notification used to notify that a problem occurred with the ad resolver

AD_RESOLVER_RESOLVE_FAILConstant 
public static const AD_RESOLVER_RESOLVE_FAIL:Number = 2022

Code for a warning notification used to notify that the ad resolver could not resolve an avail

AD_SIGNALING_MODE_INVALIDConstant 
public static const AD_SIGNALING_MODE_INVALID:Number = 201001

Code for a warning notification used to notify that the desired ad signaling mode does not have a valid value.

PSDK will proceed using the DEFAULT ad signaling mode.

AD_UNREACHABLEConstant 
public static const AD_UNREACHABLE:Number = 2030

Code for a warning notification used to notify that an ad is unreachable

ALL_DOWNLOAD_RETRIES_FAILConstant 
public static const ALL_DOWNLOAD_RETRIES_FAIL:Number = 101005

Code for a error notification used to notify that all download retries failed for resource. The URL to the failling resource will be exposed as metadata.

AUDIO_TRACK_CHANGEConstant 
public static const AUDIO_TRACK_CHANGE:Number = 304000

Code for an informational notification used to notify that the audio track has been changed

BITRATE_CHANGEConstant 
public static const BITRATE_CHANGE:Number = 302000

Code for an informational notification used to notify that the bitrate of the video has changed

BOOTSTRAP_ERRORConstant 
public static const BOOTSTRAP_ERROR:Number = 101003

Code for a error notification used to notify that an error related to bootstrap occured

CONTENT_ERRORConstant 
public static const CONTENT_ERROR:Number = 101004

Code for a error notification used to notify that an error related to content occured

CORRUPTED_DATAConstant 
public static const CORRUPTED_DATA:Number = 101007

Code for an error notification used to notify that a piece of data is corrupted. The URL to the corrupted data will be exposed as metadata.

DRM_ADDITIONAL_HEADERS_ERRORConstant 
public static const DRM_ADDITIONAL_HEADERS_ERROR:Number = 101010

Code for an error notification used to notify that an error related to DRM additional headers occured.

DRM_ERRORConstant 
public static const DRM_ERROR:Number = 100000

Code for an error notification used to notify that a DRM error has occurred

FAILOVER_COMPLETEConstant 
public static const FAILOVER_COMPLETE:Number = 306000

Code for an informational notification used to notify that the failover operation has completed sucessfully

FAILOVER_STARTConstant 
public static const FAILOVER_START:Number = 203000

Code for a warning notification used to notify that a failover operation has just started.

INVALID_MEDIA_PLAYER_ITEMConstant 
public static const INVALID_MEDIA_PLAYER_ITEM:Number = 102000

Code for an error notification used to notify that the Media Player Item is invalid

MANIFEST_ERRORConstant 
public static const MANIFEST_ERROR:Number = 101002

Code for a error notification used to notify that an error related to manifest occured

NATIVE_PLAYBACK_ERRORConstant 
public static const NATIVE_PLAYBACK_ERROR:Number = 101001

Code for an error notification used to notify that a native playback error has occurred

NOT_SUPPORTED_RESOURCEConstant 
public static const NOT_SUPPORTED_RESOURCE:Number = 102001

Code for an error notification used to notify that the format of the Media Player Item's Resource is not supported

PLAYBACK_COMPLETEConstant 
public static const PLAYBACK_COMPLETE:Number = 300001

Code for an informational notification used to notify that playback has completed

PLAYBACK_ERRORConstant 
public static const PLAYBACK_ERROR:Number = 101000

Code for an error notification used to notify that a playback error has occurred

PLAYBACK_RATE_CHANGEConstant 
public static const PLAYBACK_RATE_CHANGE:Number = 301000

Code for an informational notification used to notify that the playback rate (speed) has changed

PLAYBACK_STARTConstant 
public static const PLAYBACK_START:Number = 300000

Code for an informational notification used to notify that playback has started

SECURITY_ERRORConstant 
public static const SECURITY_ERROR:Number = 101006

Code for an error notification used to notify that a security violation occured on the resource download. The URL to the failling resource will be exposed as metadata.

SEEK_COMPLETEConstant 
public static const SEEK_COMPLETE:Number = 300003

Code for an informational notification used to notify that a seek operation has completed

SEEK_STARTConstant 
public static const SEEK_START:Number = 300002

Code for an informational notification used to notify that a seek operation was initiated

TIMELINE_CHANGEConstant 
public static const TIMELINE_CHANGE:Number = 303000

Code for an informational notification used to notify that the timeline has changed (e.g. an AdBreak was added / removed)

TRACKING_ERRORConstant 
public static const TRACKING_ERROR:Number = 108000

Code for a warning notification used to notify that a tracking error has occurred

TRACKING_FAILConstant 
public static const TRACKING_FAIL:Number = 202000

Code for a warning notification used to notify that a tracking failure has occurred (SiteCatalyst or RealTime Analytics)