![]() |
Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
|
Listener for client message queue events from the server. More...
#include <PTDiffusionClientQueueEventListener.h>
Instance Methods | |
| (void) | - diffusionQueueEventListenerRegistration:didReportPolicyChange:forSession: |
| (void) | - diffusionQueueEventListenerRegistrationDidClose: |
| (void) | - diffusionQueueEventListenerRegistration:didFailWithError: |
Listener for client message queue events from the server.
| - (void) diffusionQueueEventListenerRegistration: | (PTDiffusionRegistration *) | registration | |
| didFailWithError: | (NSError *) | error |
Called in the event of a contextual error relating to this handler.
No further calls will be made to this handler.
| registration | The message queue event listener registration for which this listener applies. |
| error | The failure reason. |
| - (void) diffusionQueueEventListenerRegistration: | (PTDiffusionRegistration *) | registration | |
| didReportPolicyChange: | (PTDiffusionClientQueuePolicy *) | policy | |
| forSession: | (PTDiffusionSessionId *) | sessionId |
Called when the message queue policy changes
| registration | The message queue event listener registration for which this listener applies |
| policy | The new message queue policy for the session |
| sessionId | The session ID of the affected session |
| - (void) diffusionQueueEventListenerRegistrationDidClose: | (PTDiffusionRegistration *) | registration |
Called if the handler is closed.
No further calls will be made to this handler.
| registration | The message queue event listener registration for which this listener applies |