Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
PTDiffusionPingDetails Class Reference

Details returned in response to a ping to the server. More...

#include <PTDiffusionPingDetails.h>

Inheritance diagram for PTDiffusionPingDetails:

Instance Methods

(BOOL) - isEqualToPingDetails:

Properties

NSTimeInterval roundTripTime
NSDate * timestamp

Detailed Description

Details returned in response to a ping to the server.

A ping details object is immutable.

See also
PTDiffusionPingsFeature
Since
5.7

Method Documentation

◆ isEqualToPingDetails:

- (BOOL) isEqualToPingDetails: (nullable PTDiffusionPingDetails *) pingDetails

Compares the receiver to the given content.

Parameters
pingDetailsThe ping details object with which to compare the receiver.
Returns
YES if the ping details is equal to the contents of the receiver, otherwise NO.
Since
5.7

Property Documentation

◆ roundTripTime

- (NSTimeInterval) roundTripTime
readnonatomicassign

The round trip time from when the ping was sent to the time the response was received.

Since
5.7

◆ timestamp

- (NSDate*) timestamp
readnonatomicassign

The time the ping was sent.

Since
5.7