Annotation Interface MavField


@Target(RECORD_COMPONENT) @Retention(RUNTIME) public @interface MavField
An Annotation giving more information about a MAVLink-Message-Field.
See Also:
MavlinkMessage
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the NativeType of the field.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Returns whether a field is an extension or not.
    int
    Returns the position of a MAVLink-Field in the raw array if the raw packet is not arranged according to the specifications.
    The default value of -1 means that the default-position is used.
  • Element Details

    • position

      int position
      Returns the position of a MAVLink-Field in the raw array if the raw packet is not arranged according to the specifications.
      The default value of -1 means that the default-position is used.
      Returns:
      position of the field in the raw array
      Default:
      -1
    • extension

      boolean extension
      Returns whether a field is an extension or not.
      Returns:
      if a field is an extension
      Default:
      false