com.adobe.mediacore
Class PSDKConfig

java.lang.Object
  extended by com.adobe.mediacore.PSDKConfig

public final class PSDKConfig
extends Object

This class encapsulates the custom tags used by the media player, when performing the ad placement, in addition to the default cue tags. It also includes the tag names, for which the application wants to be notified about.


Field Summary
static String DEFAULT_AD_TAG
           
 
Constructor Summary
PSDKConfig()
           
 
Method Summary
static String[] getAdTags()
           
protected static String[] getAdTagsWithDefault()
           
static String[] getSubscribedTags()
           
static void setAdTags(String[] tags)
          Sets an array of ad tags.
static void setSubscribedTags(String[] tags)
          Sets an array of tags, for which the application is interested to be notified about.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_AD_TAG

public static final String DEFAULT_AD_TAG
See Also:
Constant Field Values
Constructor Detail

PSDKConfig

public PSDKConfig()
Method Detail

setAdTags

public static void setAdTags(String[] tags)
Sets an array of ad tags. The player will use them when it will perform the ad placement. These tags are used in addition to the default ad markers already supported. These values will be taken into consideration only by the next media player(s) created.

Parameters:
tags - The array of tags, containing the tag strings in the following format (eg #EXT-X-AD, #EXT-X-CUE-OUT). null or empty strings are not allowed inside the array.

setSubscribedTags

public static void setSubscribedTags(String[] tags)
Sets an array of tags, for which the application is interested to be notified about. These values will be taken into consideration only by the next media player(s) created.

Parameters:
tags - The array of tags, containing the tag strings in the following format (eg #EXT-X-AD, #EXT-X-CUE-OUT) null or empty strings are not allowed inside the array.

getAdTags

public static String[] getAdTags()
Returns:
the array of tags, that the player will use when it will perform the ad placement. null, if no ad tags were set.

getSubscribedTags

public static String[] getSubscribedTags()
Returns:
the array of tags, for which the application is interested to be notified about. null, if no tags were set.

getAdTagsWithDefault

protected static String[] getAdTagsWithDefault()
Returns:
the array of tags, that the player will use when it will perform the ad placement. It includes the default ad cue tags.