Packagecom.adobe.mediacore.timeline
Classpublic final class PlacementMode
InheritancePlacementMode Inheritance Object

Enumeration of placement types.



Public Methods
 MethodDefined By
  
isContained(mode:String):Boolean
[static] Helper method to check that a specified value is contained in the current enumeration.
PlacementMode
Public Constants
 ConstantDefined By
  DEFAULT : String = default
[static] PSDK will choose the appropriate advertisement placement mode based on the stream type.
PlacementMode
  INSERT : String = insert
[static] PSDK will insert the alternate content into the main stream timeline without modifying or replacing it.
PlacementMode
  REPLACE : String = replace
[static] PSDK will place the alternate content replacing the corresponding main content section.
PlacementMode
Method Detail
isContained()method
public static function isContained(mode:String):Boolean

Helper method to check that a specified value is contained in the current enumeration. It should be used to validate external data.

Parameters

mode:String — The value to be checked

Returns
Boolean — true if the mode is contained in the enumeration, false otherwise.
Constant Detail
DEFAULTConstant
public static const DEFAULT:String = default

PSDK will choose the appropriate advertisement placement mode based on the stream type. For VoD streams will use INSERT and for live/linear stream will use REPLACE.

INSERTConstant 
public static const INSERT:String = insert

PSDK will insert the alternate content into the main stream timeline without modifying or replacing it.

REPLACEConstant 
public static const REPLACE:String = replace

PSDK will place the alternate content replacing the corresponding main content section.