Diffusion Apple API  6.7.4
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Properties | Instance Methods | List of all members
PTDiffusionSessionLockAttempt Class Reference

Introduction

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
Inheritance diagram for PTDiffusionSessionLockAttempt:
<PTDiffusionCancellable>

Properties

PTDiffusionSessionLocklock
 

Instance Methods

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

Method Documentation

- (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

- (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