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
Class Methods | Instance Methods | List of all members
PTDiffusionSessionLockScope Class Reference

Introduction

Scope specifying when a session lock should be releaed.

See Also
- lockWithName:scope:completionHandler: (PTDiffusionSession)
Since
6.3
Inheritance diagram for PTDiffusionSessionLockScope:
PTDiffusionEnumeration

Class Methods

(instancetype) + unlockOnSessionLoss
 
(instancetype) + unlockOnConnectionLoss
 
- Class Methods inherited from PTDiffusionEnumeration
(NSSet< PTDiffusionEnumeration * > *) + elements
 

Instance Methods

(BOOL) - isEqualToSessionLockScope:
 
- Instance Methods inherited from PTDiffusionEnumeration
(BOOL) - isEqualToEnumeration:
 

Method Documentation

- (BOOL) isEqualToSessionLockScope: (nullable PTDiffusionSessionLockScope *)  sessionLockScope

Compares the receiver to the given session lock scope.

Parameters
sessionLockScopeThe session lock scope object with which to compare the receiver.
Returns
YES if the session lock scope is equal to the receiver, otherwise NO.
Since
6.3
+ (instancetype) unlockOnConnectionLoss

The lock will be released when the acquiring session is closed.

Returns
Instance indicating that the lock will be released when the acquiring session is closed.
Since
6.3
+ (instancetype) unlockOnSessionLoss

The lock will be released when the acquiring session loses its current connection to the server.

Returns
Instance indicating that the lock will be released when the acquiring session loses its current connection to the server.
Since
6.3