![]() |
Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
The optional delegate for a session which may be used to receive state notifications.
By default a session will not have a listener.
Instance Methods | |
(void) | - onSession:stateChangeFrom:to: |
- (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 |