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 com.zopim.android.sdk.data.DataSource#addFileSendingObserver(java.util.Observer) 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:
    https://www.zopim.com/pricing, File Sending Dashboard Settings
    • Constructor Summary

      Constructors 
      Constructor and Description
      FileSending() 
    • 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
        Returns:
        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

        Returns:
        array of allowed extensions
      • toString

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