![]() |
Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
|
The optional delegate for a session which may be used to receive state notifications. More...
#include <PTDiffusionSessionStateChangeDelegate.h>
Instance Methods | |
| (void) | - onSession:stateChangeFrom:to: |
The optional delegate for a session which may be used to receive state notifications.
By default a session will not have a listener.
| - (void) onSession: | (PTDiffusionSession *) | session | |
| stateChangeFrom: | (PTDiffusionSessionState *) | previousState | |
| to: | (PTDiffusionSessionState *) | state |
Called whenever the state of a session changes.
| session | the session |
| previousState | the previous state |
| state | the current state |