Class AttachmentSettings



  • public class AttachmentSettings
    extends java.lang.Object
    • Constructor Detail

      • AttachmentSettings

        public AttachmentSettings(long maxFileSize,
                                  boolean sendingEnabled)
        Constructs an instance of AttachmentSettings
        Parameters:
        maxFileSize - the maximum allowed file size in bytes
        sendingEnabled - true if attachment sending is enabled, false otherwise
    • Method Detail

      • getMaxFileSize

        public long getMaxFileSize()
        Returns:
        the max allowable file size in bytes
      • isSendingEnabled

        public boolean isSendingEnabled()
        Returns:
        true if attachment sending is enabled, false otherwise