Twitch SDK (Internal)
Public Member Functions | Protected Attributes | List of all members
ttv::binding::java::JavaChatRaidListenerProxy Class Reference

#include <java_chatraidlistenerproxy.h>

Inheritance diagram for ttv::binding::java::JavaChatRaidListenerProxy:
ttv::binding::java::NativeListenerProxy< IChatRaidListener > ttv::chat::IChatRaidListener

Public Member Functions

 JavaChatRaidListenerProxy ()
 
virtual void RaidStarted (const RaidStatus &status) override
 
virtual void RaidUpdated (const RaidStatus &status) override
 
virtual void RaidCompleted (const RaidStatus &status) override
 
virtual void RaidCancelled (const RaidStatus &status) override
 
void SetListener (jobject jListener)
 
jobject GetListener () const
 

Protected Attributes

GlobalJavaObjectReference mJavaListener
 
JavaClassInfo mListenerInfo
 

Constructor & Destructor Documentation

◆ JavaChatRaidListenerProxy()

ttv::binding::java::JavaChatRaidListenerProxy::JavaChatRaidListenerProxy ( )

Member Function Documentation

◆ GetListener()

jobject ttv::binding::java::NativeListenerProxy< IChatRaidListener >::GetListener ( ) const
inlineinherited

◆ RaidCancelled()

virtual void ttv::binding::java::JavaChatRaidListenerProxy::RaidCancelled ( const RaidStatus status)
overridevirtual

Indicates that the raid has been cancelled and the client should NOT transition to the target channel.

Parameters
[out]

Implements ttv::chat::IChatRaidListener.

◆ RaidCompleted()

virtual void ttv::binding::java::JavaChatRaidListenerProxy::RaidCompleted ( const RaidStatus status)
overridevirtual

Indicates that the raid has been completed successfully and the client should transition to the target channel. This should fire at the same time as the timer in the UI elapses.

Parameters
[out]

Implements ttv::chat::IChatRaidListener.

◆ RaidStarted()

virtual void ttv::binding::java::JavaChatRaidListenerProxy::RaidStarted ( const RaidStatus status)
overridevirtual

Indicates that a raid has been started on the associated channel. When receiving this message the client should display a timer in the UI showing the countdown based on the remainingSecondsDuration field. Do not modify this countdown based on changes to this field in other callbacks.

Parameters
[out]

Implements ttv::chat::IChatRaidListener.

◆ RaidUpdated()

virtual void ttv::binding::java::JavaChatRaidListenerProxy::RaidUpdated ( const RaidStatus status)
overridevirtual

Indicates that there has been a change in the state of the raid. This is primarily used to update the number of users in the raid. Do not update the timer value based on the remainingSecondsDuration field, it is for informational purposes only.

Parameters
[out]

Implements ttv::chat::IChatRaidListener.

◆ SetListener()

void ttv::binding::java::NativeListenerProxy< IChatRaidListener >::SetListener ( jobject  jListener)
inlineinherited

Member Data Documentation

◆ mJavaListener

◆ mListenerInfo


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