CISTimeProtocol
@protocol CISTimeProtocol <NSObject>
Class conforming to this will be responsible for implementing required methods for a fetching time,
this is used by the Conviva library to query time.
-
Get the current time in milliseconds since UNIX epoch. Will be called frequently.
Declaration
Objective-C
- (NSTimeInterval)getEpochTimeMs;
Swift
func getEpochTimeMs() -> TimeInterval
Return Value
timeSinceEpochMs Current time in milliseconds since UNIX epoch.
-
Notification that Conviva no longer needs this TimeProtocol.
Declaration
Objective-C
- (void)cleanUp;
Swift
func cleanUp()