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

#include <java_ichatreplaylistenerproxy.h>

Inheritance diagram for ttv::binding::java::JavaIChatReplayListenerProxy:
ttv::binding::java::NativeListenerProxy< IChatReplayListener > ttv::chat::IChatReplayListener

Public Member Functions

 JavaIChatReplayListenerProxy ()
 
virtual void ChatReplayStateChanged (UserId userId, const std::string &vodId, ChatReplayState state, TTV_ErrorCode ec) override
 
virtual void ChatReplayCurrentTimeChanged (UserId userId, const std::string &vodId, Timestamp time) override
 
virtual void ChatReplayMessagesReceived (UserId userId, const std::string &vodId, const std::vector< ReplayMessage > &messageList) override
 
virtual void ChatReplayDeleteMessageComplete (UserId userId, const std::string &vodId, const std::string &messageId, TTV_ErrorCode ec) override
 
void SetListener (jobject jListener)
 
jobject GetListener () const
 

Protected Attributes

GlobalJavaObjectReference mJavaListener
 
JavaClassInfo mListenerInfo
 

Constructor & Destructor Documentation

◆ JavaIChatReplayListenerProxy()

ttv::binding::java::JavaIChatReplayListenerProxy::JavaIChatReplayListenerProxy ( )

Member Function Documentation

◆ ChatReplayCurrentTimeChanged()

virtual void ttv::binding::java::JavaIChatReplayListenerProxy::ChatReplayCurrentTimeChanged ( UserId  userId,
const std::string &  vodId,
Timestamp  time 
)
overridevirtual

Fired periodically to indicate the current playhead time relative to the start of the vod.

Implements ttv::chat::IChatReplayListener.

◆ ChatReplayDeleteMessageComplete()

virtual void ttv::binding::java::JavaIChatReplayListenerProxy::ChatReplayDeleteMessageComplete ( UserId  userId,
const std::string &  vodId,
const std::string &  messageId,
TTV_ErrorCode  ec 
)
overridevirtual

Fired when a request to delete a message has completed.

Implements ttv::chat::IChatReplayListener.

◆ ChatReplayMessagesReceived()

virtual void ttv::binding::java::JavaIChatReplayListenerProxy::ChatReplayMessagesReceived ( UserId  userId,
const std::string &  vodId,
const std::vector< ReplayMessage > &  messageList 
)
overridevirtual

Fired to notify that messages have been received at the current playhead time. The client should release the reference as promptly as possible so the underlying memory buffer can be reused.

Implements ttv::chat::IChatReplayListener.

◆ ChatReplayStateChanged()

virtual void ttv::binding::java::JavaIChatReplayListenerProxy::ChatReplayStateChanged ( UserId  userId,
const std::string &  vodId,
ChatReplayState  state,
TTV_ErrorCode  ec 
)
overridevirtual

Fired to indicate the playback state has changed.

Implements ttv::chat::IChatReplayListener.

◆ GetListener()

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

◆ SetListener()

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

Member Data Documentation

◆ mJavaListener

◆ mListenerInfo


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