Enum ShareFeatures

  • All Implemented Interfaces:

    
    public enum ShareFeatures
    
                        

    Supported sharing features that should be enabled in the user interface.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DOCUMENT_SHARING

      Document sharing inside PdfActivity. Enables share button in the main toolbar of PdfActivity.

      FREE_TEXT_ANNOTATION_SHARING

      Selected FreeTextAnnotation text sharing. Enables sharing button in the annotation editing toolbar for selected free-text annotations.

      NOTE_ANNOTATION_SHARING

      NoteAnnotation text sharing. Enables sharing button in the annotation editing toolbar for selected note annotations.

      NOTE_EDITOR_CONTENT_SHARING

      Sharing of note editor contents. Enables sharing for annotation contents (getContents) and annotation replies in the note editor.

      IMAGE_SHARING

      Sharing selected image stamp annotations. Enables sharing button in the annotation editing toolbar for selected image stamp annotations.

      TEXT_SELECTION_SHARING

      Sharing selected text. Enables sharing button in both text selection toolbar and text selection popup toolbar.

      EMBEDDED_FILE_SHARING

      Sharing embedded files. Enables sharing button in annotation editing toolbar for selected file annotations.

      SOUND_SHARING

      Sharing of selected sound annotations. Audio data is shared in WAVE file format. Enables sharing button in annotation editing toolbar for selected sound annotations.

    • Method Summary

      Modifier and Type Method Description
      static EnumSet<ShareFeatures> all() Creates an enum set containing all share features.
      static EnumSet<ShareFeatures> none() Creates an empty enum set containing no share features.
      static Array<ShareFeatures> values() Returns an array containing the constants of this enum type, in the order they're declared.
      static ShareFeatures valueOf(String name) Returns the enum constant of this type with the specified name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • values

         static Array<ShareFeatures> values()

        Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

        Returns:

        an array containing the constants of this enum type, in the order they're declared

      • valueOf

         static ShareFeatures valueOf(String name)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Returns:

        the enum constant with the specified name