![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
Listener for Session properties events from the server.
| - (void) diffusionSessionPropertiesListenerRegistration: | (PTDiffusionSessionPropertiesListenerRegistration *) | registration | |
| sessionClosed: | (PTDiffusionSessionId *) | sessionId | |
| withCloseReason: | (PTDiffusionCloseReason *) | closeReason | |
| andProperties: | (NSDictionary< NSString *, id > *) | properties | |
A session has closed
| registration | The session properties registration for which this listener applies |
| sessionId | The session ID of the closed session |
| closeReason | The reason why the session closed |
| properties | The properties for the closed session |
| - (void) diffusionSessionPropertiesListenerRegistration: | (PTDiffusionSessionPropertiesListenerRegistration *) | registration | |
| sessionDisconnected: | (PTDiffusionSessionId *) | sessionId | |
| withProperties: | (NSDictionary< NSString *, id > *) | properties | |
A session has disconnected
| registration | The session properties registration for which this listener applies |
| sessionId | The session ID of the disconnected session |
| properties | The properties for the disconnected session |
| - (void) diffusionSessionPropertiesListenerRegistration: | (PTDiffusionSessionPropertiesListenerRegistration *) | registration | |
| sessionFailedOver: | (PTDiffusionSessionId *) | sessionId | |
| withProperties: | (NSDictionary< NSString *, id > *) | properties | |
A session has failed over to a different host
| registration | The session properties registration for which this listener applies |
| sessionId | The session ID of the failed over session |
| properties | The properties for the failed over session |
| - (void) diffusionSessionPropertiesListenerRegistration: | (PTDiffusionSessionPropertiesListenerRegistration *) | registration | |
| sessionOpened: | (PTDiffusionSessionId *) | sessionId | |
| withProperties: | (NSDictionary< NSString *, id > *) | properties | |
A new session was opened
| registration | The session properties registration for which this listener applies |
| sessionId | The session ID of the opened session |
| properties | The properties for the opened session |
| - (void) diffusionSessionPropertiesListenerRegistration: | (PTDiffusionSessionPropertiesListenerRegistration *) | registration | |
| sessionReconnected: | (PTDiffusionSessionId *) | sessionId | |
| withProperties: | (NSDictionary< NSString *, id > *) | properties | |
A session has reconnected
| registration | The session properties registration for which this listener applies |
| sessionId | The session ID of the reconnected session |
| properties | The properties for the reconnected session |
| - (void) diffusionSessionPropertiesListenerRegistration: | (PTDiffusionSessionPropertiesListenerRegistration *) | registration | |
| sessionUpdated: | (PTDiffusionSessionId *) | sessionId | |
| withProperties: | (NSDictionary< NSString *, id > *) | properties | |
A session has been updated
| registration | The session properties registration for which this listener applies |
| sessionId | The session ID of the updated session |
| properties | The properties for the updated session |