Diffusion Apple API  6.3.3
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables 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) + NS_UNAVAILABLE
 
(instancetype) + unlockOnSessionLoss
 
(instancetype) + unlockOnConnectionLoss
 
- Class Methods inherited from PTDiffusionEnumeration
(NSSet< PTDiffusionEnumeration * > *) + elements
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(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.

Since
6.3
+ (instancetype) unlockOnSessionLoss

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

Since
6.3