public interface

OperatorTypingStatus

com.glia.androidsdk.chat.OperatorTypingStatus

Class Overview

Allows to notify the Visitor if Operator is typing a message or not.

Usage example:

 
 engagement.getChat().on(Chat.Events.OPERATOR_TYPING_STATUS, operatorTypingStatus -> {
     System.out.println("Operator is typing: " + operatorTypingStatus.isTyping());
 });
 
 

Summary

Public Methods
abstract boolean isTyping()

Public Methods

public abstract boolean isTyping ()

Returns
  • true if the Operator has written or is writing a message but has not sent it yet, false otherwise.