Diffusion Apple API  6.10.3
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
<PTDiffusionSessionStateChangeDelegate> Protocol Reference

Introduction

The optional delegate for a session which may be used to receive state notifications.

By default a session will not have a listener.

Since
6.10

Instance Methods

(void) - onSession:stateChangeFrom:to:
 

Method Documentation

- (void) onSession: (PTDiffusionSession *)  session
stateChangeFrom: (PTDiffusionSessionState *)  previousState
to: (PTDiffusionSessionState *)  state 

Called whenever the state of a session changes.

Parameters
sessionthe session
previousStatethe previous state
statethe current state
Since
6.10