IOSSystemTimer
@interface IOSSystemTimer : NSObject <CISCancelProtocol>
Conviva provided helper class which manages timers required by Conviva SDK.
This class is used by Conviva provided iOSTimerInterface to create this class instance for each timer activity.
As this is conforming to CISCancelProtocol, the timer cancellation activity are also handled here.
-
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
A helper method for creating system timer used by IOSSystemTimer.
Declaration
Objective-C
- (instancetype)initWithSelector:(NSTimeInterval)intervalSeconds queue:(dispatch_queue_t)queue handler:(dispatch_block_t)handler;
Swift
init!(selector intervalSeconds: TimeInterval, queue: DispatchQueue!, handler: (() -> Void)!)
Parameters
intervalSeconds
The time interval for the timer to fire.
queue
Queue on which timer action will be performed.
handler
The type of blocks submitted to dispatch queue.
Return Value
Returns self-object with CISCancelProtocol methods implemented.