Inherits from NSObject
Declared in PTSDKConfig.h

Overview

PTSDKConfig is a static class that exposes PSDK global settings.

Tasks

  • + setAdTags:

    Sets the array of custom ad markers that the player will accept in addition to default ones. Each tag in the array is expected to be a NSString. For example: #EXT-X-AD, #EXT-X-CUE-OUT etc.

  • + adTags

    Returns the array of ad markers being used by the player. If no custom ad markers are set, player uses default only ad markers.

  • + setSubscribedTags:

    Sets the array of HLS tags that the player notifies about. Each tag in the array is expected to be a NSString. For example: #EXT-OATCLS-SCTE35.

  • + subscribedTags

    Returns the array of current subscribed tags.

Class Methods

adTags

Returns the array of ad markers being used by the player. If no custom ad markers are set, player uses default only ad markers.

+ (NSArray *)adTags

Discussion

Returns the array of ad markers being used by the player. If no custom ad markers are set, player uses default only ad markers.

Declared In

PTSDKConfig.h

setAdTags:

Sets the array of custom ad markers that the player will accept in addition to default ones. Each tag in the array is expected to be a NSString. For example: #EXT-X-AD, #EXT-X-CUE-OUT etc.

+ (void)setAdTags:(NSArray *)adTags

Discussion

Sets the array of custom ad markers that the player will accept in addition to default ones. Each tag in the array is expected to be a NSString. For example: #EXT-X-AD, #EXT-X-CUE-OUT etc.

Declared In

PTSDKConfig.h

setSubscribedTags:

Sets the array of HLS tags that the player notifies about. Each tag in the array is expected to be a NSString. For example: #EXT-OATCLS-SCTE35.

+ (void)setSubscribedTags:(NSArray *)subscribedTags

Discussion

Sets the array of HLS tags that the player notifies about. Each tag in the array is expected to be a NSString. For example: #EXT-OATCLS-SCTE35.

Declared In

PTSDKConfig.h

subscribedTags

Returns the array of current subscribed tags.

+ (NSArray *)subscribedTags

Discussion

Returns the array of current subscribed tags.

Declared In

PTSDKConfig.h