Enum ParseFlag

java.lang.Object
java.lang.Enum<ParseFlag>
uk.co.caprica.vlcj.media.ParseFlag
All Implemented Interfaces:
Serializable, Comparable<ParseFlag>, java.lang.constant.Constable

public enum ParseFlag extends Enum<ParseFlag>
Parse flags used by libvlc_media_parse_with_options().
  • Enum Constant Details

    • PARSE_LOCAL

      public static final ParseFlag PARSE_LOCAL
      Parse media if it's a local file
    • PARSE_NETWORK

      public static final ParseFlag PARSE_NETWORK
      Parse media even if it's a network file
    • FETCH_LOCAL

      public static final ParseFlag FETCH_LOCAL
      Fetch meta and covert art using local resources
    • FETCH_NETWORK

      public static final ParseFlag FETCH_NETWORK
      Fetch meta and covert art using network resources
    • DO_INTERACT

      public static final ParseFlag DO_INTERACT
      Interact with the user (via libvlc_dialog_cbs) when preparsing this item (and not its sub items). Set this flag in order to receive a callback when the input is asking for credentials.
  • Method Details

    • values

      public static ParseFlag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ParseFlag 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • parseFlag

      public static ParseFlag parseFlag(int intValue)
    • intValue

      public int intValue()