PTMediaPlayerClientFactory Protocol Reference
Conforms to | NSObject |
Declared in | PTMediaPlayerClientFactory.h |
Overview
PTMediaPlayerClientFactory protocol describes the method that a custom media player client factory should implement in order to provide the available PTOpportunityResolver, PTContentResolver and PTAdPolicySelector instances.
Tasks
retrieveOpportunityResolvers
-
– retrieveOpportunityResolvers
Returns the currently available PTOpportunityResolver classes
required method
retrieveContentResolvers
-
– retrieveContentResolvers
Returns the currently available PTContentResolver classes
required method
PTAdPolicySelector
-
– retrieveAdPolicySelector
Returns the ad policy selector instance used for enforcing ad behaviors within PSDK If applications do not specifcy an instance, PSDK creates a default policy selector
Instance Methods
retrieveAdPolicySelector
Returns the ad policy selector instance used for enforcing ad behaviors within PSDK If applications do not specifcy an instance, PSDK creates a default policy selector
- (id<PTAdPolicySelector>)retrieveAdPolicySelector
Discussion
Returns the ad policy selector instance used for enforcing ad behaviors within PSDK If applications do not specifcy an instance, PSDK creates a default policy selector
Declared In
PTMediaPlayerClientFactory.h
retrieveContentResolvers
Returns the currently available PTContentResolver classes
- (NSArray *)retrieveContentResolvers
Discussion
Returns the currently available PTContentResolver classes
Declared In
PTMediaPlayerClientFactory.h
retrieveOpportunityResolvers
Returns the currently available PTOpportunityResolver classes
- (NSArray *)retrieveOpportunityResolvers
Discussion
Returns the currently available PTOpportunityResolver classes
Declared In
PTMediaPlayerClientFactory.h