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:
-
– clearOpportunityResolvers
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.
retrieveOpportunityDetectors
-
– retrieveOpportunityResolvers
Returns 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:
-
– clearContentResolvers
Unregisters all the stored instances used for custom content/ad resolving. Warning: Removes the PTDefaultAdContentResolver
retrieveContentResolvers
-
– retrieveContentResolvers
Returns 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
-
– retrieveAdPolicySelector
Returns 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>)contentResolver
Discussion
Unregisters a Class following the PTContentResolver protocol used for custom ad/content resolving
Declared In
PTDefaultMediaPlayerClientFactory.h
clearContentResolvers
Unregisters all the stored instances used for custom content/ad resolving. Warning: Removes the PTDefaultAdContentResolver
- (void)clearContentResolvers
Discussion
Unregisters all the stored instances used for custom content/ad resolving. Warning: Removes the PTDefaultAdContentResolver
Declared In
PTDefaultMediaPlayerClientFactory.h
clearOpportunityResolver:
Unregisters a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
- (void)clearOpportunityResolver:(id<PTOpportunityResolver>)opportunityResolver
Discussion
Unregisters a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
Declared In
PTDefaultMediaPlayerClientFactory.h
clearOpportunityResolvers
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)clearOpportunityResolvers
Discussion
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.h
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
- (void)registerAdPolicySelector:(id<PTAdPolicySelector>)adPolicySelector
Discussion
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.h
registerContentResolver:
Register a Class following the PTContentResolver protocol used for custom ad/content resolving.
- (void)registerContentResolver:(id<PTContentResolver>)contentResolver
Discussion
Register a Class following the PTContentResolver protocol used for custom ad/content resolving.
Declared In
PTDefaultMediaPlayerClientFactory.h
registerOpportunityResolver:
Register a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
- (void)registerOpportunityResolver:(id<PTOpportunityResolver>)opportunityResolver
Discussion
Register a Class following the PTOpportunityResolverDelegate protocol used for custom opportunity resolving.
Declared In
PTDefaultMediaPlayerClientFactory.h
retrieveAdPolicySelector
Returns the ad policy selector for defining ad behaviors
- (id<PTAdPolicySelector>)retrieveAdPolicySelector
Discussion
Returns the ad policy selector for defining ad behaviors
Declared In
PTDefaultMediaPlayerClientFactory.h
retrieveContentResolvers
Returns the currently available PTContentResolver instances
- (NSArray *)retrieveContentResolvers
Discussion
Returns the currently available PTContentResolver instances
Declared In
PTDefaultMediaPlayerClientFactory.h
retrieveOpportunityResolvers
Returns the currently available PTOpportunityResolver instances
- (NSArray *)retrieveOpportunityResolvers
Discussion
Returns the currently available PTOpportunityResolver instances
Declared In
PTDefaultMediaPlayerClientFactory.h