Package 

Object DocumentAttachmentHandler


  • 
    public class DocumentAttachmentHandler
    
                        

    Shared handler for opening document attachments.

    Documents are downloaded via StreamShareFileManager and opened with an external application. If the download takes longer than SNACKBAR_DELAY_MS, a Snackbar with progress is shown.

    • Method Summary

      Modifier and Type Method Description
      final Unit openAttachment(Context context, Attachment attachment) Opens the given document attachment.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait