![]() |
Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
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.
Properties | |
PTDiffusionSessionLock * | lock |
Instance Methods | |
(BOOL) | - isEqualToSessionLockAttempt: |
![]() | |
(BOOL) | - cancel |
- (BOOL) isEqualToSessionLockAttempt: | (nullable PTDiffusionSessionLockAttempt *) | sessionLockAttempt |
Compares the receiver to the given session lock attempt.
sessionLockAttempt | The session lock attempt object with which to compare the receiver. |
YES
if the session lock attempt is equal to the receiver, otherwise NO
.
|
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.