AnnotationMenuAction enum

Enumeration of default annotation menu actions that can be removed or disabled.

Platform Support:

  • All actions can be removed or disabled on both iOS and Android
  • Some system actions (copy/paste) may be harder to remove on iOS due to system restrictions
Inheritance
Available extensions

Values

delete → const AnnotationMenuAction

Delete action - removes the annotation

  • iOS: Part of UIMenu system actions
  • Android: R.id.pspdf__annotation_editing_toolbar_item_delete
copy → const AnnotationMenuAction

Copy action - copies the annotation

  • iOS: System copy action (may be harder to remove)
  • Android: R.id.pspdf__annotation_editing_toolbar_item_copy
cut → const AnnotationMenuAction

Cut action - cuts the annotation to clipboard

  • iOS: System cut action
  • Android: R.id.pspdf__annotation_editing_toolbar_item_cut
color → const AnnotationMenuAction

Color action - opens annotation color picker/inspector

  • iOS: Style picker in UIMenu
  • Android: R.id.pspdf__annotation_editing_toolbar_item_picker
note → const AnnotationMenuAction

Note action - opens annotation note editor

  • iOS: Note action in UIMenu
  • Android: R.id.pspdf__annotation_editing_toolbar_item_annotation_note
undo → const AnnotationMenuAction

Undo action - undoes the last action

  • iOS: Undo in UIMenu
  • Android: R.id.pspdf__annotation_editing_toolbar_item_undo
redo → const AnnotationMenuAction

Redo action - redoes the previously undone action

  • iOS: Redo in UIMenu
  • Android: R.id.pspdf__annotation_editing_toolbar_item_redo

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AnnotationMenuAction>
A constant List of the values in this enum, in order of their declaration.