![]() |
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.
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.
Properties | |
| PTDiffusionSessionState * | previousState |
| PTDiffusionSessionState * | state |
Instance Methods | |
| (BOOL) | - isEqualToSessionStateChange: |
Related Functions and Constants | |
(Note that these are not member symbols.) | |
| NSString *const | PTDiffusionSessionStateDidChangeNotification |
| NSString *const | PTDiffusionSessionStateChangeUserInfoKey |
| - (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. |
YES if the given session state change is equal to the receiver, otherwise NO.
|
related |
The notification userInfo dictionary key used to access the PTDiffusionSessionStateChange object on receipt of a PTDiffusionSessionStateDidChangeNotification.
|
related |
The name used for session state change notifications.
The notification's userInfo dictionary contains a PTDiffusionSessionStateChange object that describes the state change, accessed using PTDiffusionSessionStateChangeUserInfoKey.
|
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.