![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
A session state change represents a change in a session's state. More...
#include <PTDiffusionSessionStateChange.h>
Instance Methods | |
| (BOOL) | - isEqualToSessionStateChange: |
Properties | |
| PTDiffusionSessionState * | previousState |
| PTDiffusionSessionState * | state |
Related Symbols | |
(Note that these are not member symbols.) | |
| NSString *const | PTDiffusionSessionStateDidChangeNotification |
| The name used for session state change notifications. | |
| NSString *const | PTDiffusionSessionStateChangeUserInfoKey |
A session state change represents a change in a session's state.
A session state change object is immutable.
The Quick Start guide provides an example of observing session state changes broadcast through the default notification center.
| - (BOOL) isEqualToSessionStateChange: | (nullable PTDiffusionSessionStateChange *) | sessionStateChange |
Compares the receiver to the given session state change.
| sessionStateChange | The session state change object with which to compare the receiver. |
|
The notification userInfo dictionary key used to access the PTDiffusionSessionStateChange object on receipt of a PTDiffusionSessionStateDidChangeNotification.
|
readnonatomicassign |
The previous state. This is the state that the session was in prior to transitioning to its current state.
|
readnonatomicassign |
The current state. This is the state that the session has now transitioned to.