Package 

Object AttachmentsPickerTabFactories

    • Method Detail

      • defaultFactoriesWithoutPermissions

         final List<AttachmentsPickerTabFactory> defaultFactoriesWithoutPermissions(Boolean mediaAttachmentsTabEnabled, Boolean visualMediaAllowMultiple, VisualMediaType visualMediaType, Boolean fileAttachmentsTabEnabled, Boolean cameraAttachmentsTabEnabled, Boolean pollAttachmentsTabEnabled)

        Builds the default list of attachment picker tab factories (without requesting storage permission).

        Parameters:
        mediaAttachmentsTabEnabled - If the media attachments tab will be displayed in the picker.
        visualMediaAllowMultiple - If the visual media attachments tab will allow multiple selections.
        visualMediaType - The types of visual media that can be picked.
        fileAttachmentsTabEnabled - If the file attachments tab will be displayed in the picker.
        cameraAttachmentsTabEnabled - If the camera attachments tab will be displayed in the picker.
        pollAttachmentsTabEnabled - If the poll attachments tab will be displayed in the picker.
      • defaultFactories

         final List<AttachmentsPickerTabFactory> defaultFactories(Boolean mediaAttachmentsTabEnabled, Boolean fileAttachmentsTabEnabled, Boolean cameraAttachmentsTabEnabled, Boolean pollAttachmentsTabEnabled)

        Creates a list of factories for the tabs that will be displayed in the attachment picker.

        Parameters:
        mediaAttachmentsTabEnabled - If the media attachments tab will be displayed in the picker.
        fileAttachmentsTabEnabled - If the file attachments tab will be displayed in the picker.
        cameraAttachmentsTabEnabled - If the camera attachments tab will be displayed in the picker.
        pollAttachmentsTabEnabled - If the poll attachments tab will be displayed in the picker.