Inherits from NSObject
Declared in SPAdvertiserManager.h
SPAdvertiserManager.m

Overview

  • Singleton for reporting offers to the SponsorPay server.

Tasks

Class Methods

sharedManager

  • Retrieves the shared singleton instance of this class.
+ (SPAdvertiserManager *)sharedManager

Declared In

SPAdvertiserManager.h

Instance Methods

reportOfferCompleted:

  • Sends a message to the SponsorPay server telling it that the app has been run.
- (void)reportOfferCompleted:(NSString *)appId

Discussion

  • This should be invoked on startup (every time) in case it fails to access the network–

  • in such cases it will retry, but only if it hasn’t yet succeeded.

Declared In

SPAdvertiserManager.h