Class FileSending

  • public class FileSending
    extends java.lang.Object
    This is a model class for File Sending (Attachments) that will be created by LivechatFileSendingPath.

    It is used to tell if file sending is enabled and which extensions are supported. File sending is available only to certain plan types as per Zopim pricing plan.

    You can subscribe to this broadcast via using FileSendingObserver

    This class is a model that will be serialised to JSON and deserialized from JSON to this model. As such it does not follow the m naming prefix for fields.

    See Also:, File Sending Dashboard Settings
    • Constructor Summary

      Constructor and Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String[] getExtensions()
      Gets file extensions that are allowed for file sending
      boolean isEnabled()
      Indicates if file sending is enabled
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FileSending

        public FileSending()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Indicates if file sending is enabled
        true if enabled, false otherwise
      • getExtensions

        public java.lang.String[] getExtensions()
        Gets file extensions that are allowed for file sending

        File sending is configurable via File Sending Dashboard Settings

        array of allowed extensions
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object