PTSDKConfig Class Reference
| Inherits from | NSObject |
| Declared in | PTSDKConfig.h |
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.
-
+ adTagsReturns 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.
-
+ subscribedTagsReturns 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 *)adTagsDiscussion
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.hsetAdTags:
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 *)adTagsDiscussion
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.hsetSubscribedTags:
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 *)subscribedTagsDiscussion
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