Class BelvedereUi.ImageStreamBuilder

  • Enclosing class:
    BelvedereUi


    public static class BelvedereUi.ImageStreamBuilder
    extends java.lang.Object
    • Method Detail

      • withDocumentIntent

        public BelvedereUi.ImageStreamBuilder withDocumentIntent(java.lang.String contentType,
                                                                 boolean allowMultiple)
        Allow the user to select files from the system.
        Parameters:
        contentType - restrict the files to a content type.
        allowMultiple - allow the user to select multiple attachments in a third party app or the system file picker
      • withTouchableItems

        public BelvedereUi.ImageStreamBuilder withTouchableItems(int... ids)
        Specify a list of ids from your activity that should be clickable although the ImageStream is visible.
      • withMaxFileSize

        public BelvedereUi.ImageStreamBuilder withMaxFileSize(long maxFileSize)
        Define a maximum file size. Files bigger than the provided value are not selectable.
        Parameters:
        maxFileSize - maximum file size in bytes
      • showPopup

        public void showPopup(AppCompatActivity activity)
        Show the ImageStream to the user.