Diffusion Apple API  6.9.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Instance Methods | List of all members
<PTDiffusionSessionPropertiesDelegate> Protocol Reference

Introduction

Listener for Session properties events from the server.

See Also
PTDiffusionClientControlFeature
Since
6.5
Inheritance diagram for <PTDiffusionSessionPropertiesDelegate>:
<PTDiffusionSessionPropertiesListenerRegistrationDelegate>

Instance Methods

(void) - diffusionSessionPropertiesListenerRegistration:sessionOpened:withProperties:
 
(void) - diffusionSessionPropertiesListenerRegistration:sessionClosed:withCloseReason:andProperties:
 
(void) - diffusionSessionPropertiesListenerRegistration:sessionUpdated:withProperties:
 
(void) - diffusionSessionPropertiesListenerRegistration:sessionDisconnected:withProperties:
 
(void) - diffusionSessionPropertiesListenerRegistration:sessionReconnected:withProperties:
 
(void) - diffusionSessionPropertiesListenerRegistration:sessionFailedOver:withProperties:
 
- Instance Methods inherited from <PTDiffusionSessionPropertiesListenerRegistrationDelegate>
(void) - diffusionSessionPropertiesEventRegistrationDidClose:
 
(void) - diffusionSessionPropertiesEventRegistration:didFailWithError:
 
(void) - diffusionSessionPropertiesListenerRegistrationDidClose:
 
(void) - diffusionSessionPropertiesListenerRegistration:didFailWithError:
 

Method Documentation

- (void) diffusionSessionPropertiesListenerRegistration: (PTDiffusionSessionPropertiesListenerRegistration *)  registration
sessionClosed: (PTDiffusionSessionId *)  sessionId
withCloseReason: (PTDiffusionCloseReason *)  closeReason
andProperties: (NSDictionary< NSString *, id > *)  properties 

A session has closed

Parameters
registrationThe session properties registration for which this listener applies
sessionIdThe session ID of the closed session
closeReasonThe reason why the session closed
propertiesThe properties for the closed session
Since
6.5
- (void) diffusionSessionPropertiesListenerRegistration: (PTDiffusionSessionPropertiesListenerRegistration *)  registration
sessionDisconnected: (PTDiffusionSessionId *)  sessionId
withProperties: (NSDictionary< NSString *, id > *)  properties 

A session has disconnected

Parameters
registrationThe session properties registration for which this listener applies
sessionIdThe session ID of the disconnected session
propertiesThe properties for the disconnected session
Since
6.5
- (void) diffusionSessionPropertiesListenerRegistration: (PTDiffusionSessionPropertiesListenerRegistration *)  registration
sessionFailedOver: (PTDiffusionSessionId *)  sessionId
withProperties: (NSDictionary< NSString *, id > *)  properties 

A session has failed over to a different host

Parameters
registrationThe session properties registration for which this listener applies
sessionIdThe session ID of the failed over session
propertiesThe properties for the failed over session
Since
6.6
- (void) diffusionSessionPropertiesListenerRegistration: (PTDiffusionSessionPropertiesListenerRegistration *)  registration
sessionOpened: (PTDiffusionSessionId *)  sessionId
withProperties: (NSDictionary< NSString *, id > *)  properties 

A new session was opened

Parameters
registrationThe session properties registration for which this listener applies
sessionIdThe session ID of the opened session
propertiesThe properties for the opened session
Since
6.5
- (void) diffusionSessionPropertiesListenerRegistration: (PTDiffusionSessionPropertiesListenerRegistration *)  registration
sessionReconnected: (PTDiffusionSessionId *)  sessionId
withProperties: (NSDictionary< NSString *, id > *)  properties 

A session has reconnected

Parameters
registrationThe session properties registration for which this listener applies
sessionIdThe session ID of the reconnected session
propertiesThe properties for the reconnected session
Since
6.6
- (void) diffusionSessionPropertiesListenerRegistration: (PTDiffusionSessionPropertiesListenerRegistration *)  registration
sessionUpdated: (PTDiffusionSessionId *)  sessionId
withProperties: (NSDictionary< NSString *, id > *)  properties 

A session has been updated

Parameters
registrationThe session properties registration for which this listener applies
sessionIdThe session ID of the updated session
propertiesThe properties for the updated session
Since
6.5