Twitch SDK (Internal)
Public Member Functions | List of all members
ttv::IChannelListener Class Referenceabstract

#include <ichannellistener.h>

Inheritance diagram for ttv::IChannelListener:
ttv::binding::java::NativeListenerProxy< IChannelListener > ttv::ChannelListenerProxy ttv::binding::java::JavaChannelListenerProxy

Public Member Functions

virtual void StreamUp (uint32_t playDelaySeconds)=0
 
virtual void StreamDown ()=0
 
virtual void StreamViewerCountChanged (uint32_t viewerCount)=0
 
virtual void StreamTriggeredMidroll (uint32_t durationSeconds)=0
 
virtual void StreamReceivedWatchPartyUpdate (const WatchPartyUpdate &update)=0
 
virtual void ProfileImageUpdated (const std::vector< ProfileImage > &images)=0
 

Member Function Documentation

◆ ProfileImageUpdated()

virtual void ttv::IChannelListener::ProfileImageUpdated ( const std::vector< ProfileImage > &  images)
pure virtual

Called when a new profile image has been successfully uploaded for the current channel (from any device). Note: Only successful uploads will trigger this function.

Parameters
[in]imagesUpdated profile image information.

Implemented in ttv::ChannelListenerProxy, and ttv::binding::java::JavaChannelListenerProxy.

◆ StreamDown()

virtual void ttv::IChannelListener::StreamDown ( )
pure virtual

Called when a stream goes down.

Implemented in ttv::ChannelListenerProxy, and ttv::binding::java::JavaChannelListenerProxy.

◆ StreamReceivedWatchPartyUpdate()

virtual void ttv::IChannelListener::StreamReceivedWatchPartyUpdate ( const WatchPartyUpdate update)
pure virtual

If the channel is hosting a watch party, the server will send us periodic updates containing information about the watch party.

Implemented in ttv::ChannelListenerProxy, and ttv::binding::java::JavaChannelListenerProxy.

◆ StreamTriggeredMidroll()

virtual void ttv::IChannelListener::StreamTriggeredMidroll ( uint32_t  durationSeconds)
pure virtual

Indicates that a midroll ad pod should be played. The total length of the ad pod should be at most duration seconds.

Implemented in ttv::ChannelListenerProxy, and ttv::binding::java::JavaChannelListenerProxy.

◆ StreamUp()

virtual void ttv::IChannelListener::StreamUp ( uint32_t  playDelaySeconds)
pure virtual

Called when a stream is brought up. The playDelay argument contains the artificial playback delay set on the stream.

Implemented in ttv::ChannelListenerProxy, and ttv::binding::java::JavaChannelListenerProxy.

◆ StreamViewerCountChanged()

virtual void ttv::IChannelListener::StreamViewerCountChanged ( uint32_t  viewerCount)
pure virtual

Called when the stream's viewer count changes.

Implemented in ttv::ChannelListenerProxy, and ttv::binding::java::JavaChannelListenerProxy.


The documentation for this class was generated from the following file: