The PSDKConfig class exposes two static setter methods and two static getter methods.
/**
* 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.
*/
public class PSDKConfig {
public static final String DEFAULT_AD_TAG = "#EXT-X-CUE";
/**
* 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.
* @param tags The array of tags, containing the tag strings in the following format (eg
#EXT-X-AD, #EXT-X-CUE-OUT)
*/
public static void setAdTags(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.
* @param tags The array of tags, containing the tag strings in the following format
* (eg #EXT-X-AD, #EXT-X-CUE-OUT)
*/
public static void setSubscribedTags(String[] tags);
/**
* @return the array of tags, that the player will use when it will perform
* the ad placement.
*/
public static String[] getAdTags();
/**
* @return the array of tags, for which the application is interested to be notified about.
*/
public static String[] getSubscribedTags();
}