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

A handle to a session lock request. More...

#include <PTDiffusionSessionLockAttempt.h>

Inheritance diagram for PTDiffusionSessionLockAttempt:
<PTDiffusionCancellable>

Instance Methods

(BOOL) - isEqualToSessionLockAttempt:
Instance Methods inherited from <PTDiffusionCancellable>
(BOOL) - cancel

Properties

PTDiffusionSessionLocklock

Detailed Description

A handle to a session lock request.

Instances of this object may be used to cancel the session lock attempt as well as to query the lock instance once acquired.

Since
6.3

Method Documentation

◆ isEqualToSessionLockAttempt:

- (BOOL) isEqualToSessionLockAttempt: (nullable PTDiffusionSessionLockAttempt *) sessionLockAttempt

Compares the receiver to the given session lock attempt.

Parameters
sessionLockAttemptThe session lock attempt object with which to compare the receiver.
Returns
YES if the session lock attempt is equal to the receiver, otherwise NO.
Since
6.3

Property Documentation

◆ lock

- (PTDiffusionSessionLock*) lock
readatomicassign

The acquired lock, if the attempt was successful. Until a response has come back from the server, this property will be nil. It will remain nil if that response indicates that the session lock attempt failed.

Since
6.3