![]() |
Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
|
Scope specifying when a session lock should be releaed. More...
#include <PTDiffusionSessionLockScope.h>
Instance Methods | |
| (BOOL) | - isEqualToSessionLockScope: |
| Instance Methods inherited from PTDiffusionEnumeration | |
| (BOOL) | - isEqualToEnumeration: |
Class Methods | |
| (instancetype) | + unlockOnSessionLoss |
| (instancetype) | + unlockOnConnectionLoss |
| Class Methods inherited from PTDiffusionEnumeration | |
| (NSSet< PTDiffusionEnumeration * > *) | + elements |
Scope specifying when a session lock should be releaed.
| - (BOOL) isEqualToSessionLockScope: | (nullable PTDiffusionSessionLockScope *) | sessionLockScope |
Compares the receiver to the given session lock scope.
| sessionLockScope | The session lock scope object with which to compare the receiver. |
| + (instancetype) unlockOnConnectionLoss |
The lock will be released when the acquiring session is closed.
| + (instancetype) unlockOnSessionLoss |
The lock will be released when the acquiring session loses its current connection to the server.