![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
A session ID is a unique session identifier, allocated by the server. More...
#include <PTDiffusionSessionId.h>
Instance Methods | |
| (nullable instancetype) | - initWithString:error: |
| (BOOL) | - isEqualToSessionId: |
| (NSString *) | - description |
A session ID is a unique session identifier, allocated by the server.
| - (NSString *) description |
Returns the description of the session ID.
| - (nullable instancetype) initWithString: | (NSString *) | string | |
| error: | (NSError **) | error |
Returns a session ID object initialized with the given string.
| string | A string, previously returned by the description method on an instance of this class. |
| error | If this method returns nil to indicate that an error occurred then this will be populated with the reason for that failure. |
| NSInvalidArgumentException | If the given string is `nil`. |
| - (BOOL) isEqualToSessionId: | (nullable PTDiffusionSessionId *) | sessionId |
Compares the receiver to the given session ID.
| sessionId | The session ID object with which to compare the receiver. |