PTDefaultMediaPlayerClientFactory Class Reference
| Inherits from | NSObject |
| Conforms to | PTMediaPlayerClientFactory |
| Declared in | PTDefaultMediaPlayerClientFactory.h |
Tasks
registerOpportunityResolver:
-
– registerOpportunityResolver:Register a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
clearOpportunityResolver:
-
– clearOpportunityResolver:Unregisters a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
clearOpportunityResolvers:
-
– clearOpportunityResolversUnregisters all the stored Classes used for custom opportunity resolving. WARNING: This also clears the default oportunity resolver used for resolve default ad cue markers. Use it only if this is the intended behavior.
retrieveOpportunityDetectors
-
– retrieveOpportunityResolversReturns the currently available PTOpportunityResolver instances
registerContentResolver:
-
– registerContentResolver:Register a Class following the PTContentResolver protocol used for custom ad/content resolving.
clearOpportunityResolverClass:
-
– clearContentResolver:Unregisters a Class following the PTContentResolver protocol used for custom ad/content resolving
clearContentResolvers:
-
– clearContentResolversUnregisters all the stored instances used for custom content/ad resolving. Warning: Removes the PTDefaultAdContentResolver
retrieveContentResolvers
-
– retrieveContentResolversReturns the currently available PTContentResolver instances
Ad Policy Selector
-
– registerAdPolicySelector:Registers an ad policy selector instance for defining ad behaviors. Provide a nil argument to use the default ad policy selector provided by PSDK. Unless a new isntance is provided, the same ad policy selector instance will be used. If the application requires specific logic for each content, register a new ad policy selector before playing each content or update the data provided to the instance
-
– retrieveAdPolicySelectorReturns the ad policy selector for defining ad behaviors
Instance Methods
clearContentResolver:
Unregisters a Class following the PTContentResolver protocol used for custom ad/content resolving
- (void)clearContentResolver:(id<PTContentResolver>)contentResolverDiscussion
Unregisters a Class following the PTContentResolver protocol used for custom ad/content resolving
Declared In
PTDefaultMediaPlayerClientFactory.hclearContentResolvers
Unregisters all the stored instances used for custom content/ad resolving. Warning: Removes the PTDefaultAdContentResolver
- (void)clearContentResolversDiscussion
Unregisters all the stored instances used for custom content/ad resolving. Warning: Removes the PTDefaultAdContentResolver
Declared In
PTDefaultMediaPlayerClientFactory.hclearOpportunityResolver:
Unregisters a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
- (void)clearOpportunityResolver:(id<PTOpportunityResolver>)opportunityResolverDiscussion
Unregisters a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
Declared In
PTDefaultMediaPlayerClientFactory.hclearOpportunityResolvers
Unregisters all the stored Classes used for custom opportunity resolving. WARNING: This also clears the default oportunity resolver used for resolve default ad cue markers. Use it only if this is the intended behavior.
- (void)clearOpportunityResolversDiscussion
Unregisters all the stored Classes used for custom opportunity resolving. WARNING: This also clears the default oportunity resolver used for resolve default ad cue markers. Use it only if this is the intended behavior.
Declared In
PTDefaultMediaPlayerClientFactory.hregisterAdPolicySelector:
Registers an ad policy selector instance for defining ad behaviors. Provide a nil argument to use the default ad policy selector provided by PSDK. Unless a new isntance is provided, the same ad policy selector instance will be used. If the application requires specific logic for each content, register a new ad policy selector before playing each content or update the data provided to the instance
- (void)registerAdPolicySelector:(id<PTAdPolicySelector>)adPolicySelectorDiscussion
Registers an ad policy selector instance for defining ad behaviors. Provide a nil argument to use the default ad policy selector provided by PSDK. Unless a new isntance is provided, the same ad policy selector instance will be used. If the application requires specific logic for each content, register a new ad policy selector before playing each content or update the data provided to the instance
Declared In
PTDefaultMediaPlayerClientFactory.hregisterContentResolver:
Register a Class following the PTContentResolver protocol used for custom ad/content resolving.
- (void)registerContentResolver:(id<PTContentResolver>)contentResolverDiscussion
Register a Class following the PTContentResolver protocol used for custom ad/content resolving.
Declared In
PTDefaultMediaPlayerClientFactory.hregisterOpportunityResolver:
Register a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
- (void)registerOpportunityResolver:(id<PTOpportunityResolver>)opportunityResolverDiscussion
Register a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
Declared In
PTDefaultMediaPlayerClientFactory.hretrieveAdPolicySelector
Returns the ad policy selector for defining ad behaviors
- (id<PTAdPolicySelector>)retrieveAdPolicySelectorDiscussion
Returns the ad policy selector for defining ad behaviors
Declared In
PTDefaultMediaPlayerClientFactory.hretrieveContentResolvers
Returns the currently available PTContentResolver instances
- (NSArray *)retrieveContentResolversDiscussion
Returns the currently available PTContentResolver instances
Declared In
PTDefaultMediaPlayerClientFactory.hretrieveOpportunityResolvers
Returns the currently available PTOpportunityResolver instances
- (NSArray *)retrieveOpportunityResolversDiscussion
Returns the currently available PTOpportunityResolver instances
Declared In
PTDefaultMediaPlayerClientFactory.h