Class MetaApi

java.lang.Object
uk.co.caprica.vlcj.media.MetaApi

public final class MetaApi extends Object
Behaviour pertaining to media meta data.
  • Method Details

    • get

      public String get(Meta meta)
      Get the value for a particular type of meta data.
      Parameters:
      meta - type of meta data
      Returns:
      meta data value
    • set

      public void set(Meta meta, String value)
      Set the value for a particular type of meta data.
      Parameters:
      meta - type of meta data
      value - meta data value
    • save

      public boolean save()
      Save the meta data to the underlying media.
      Returns:
      true if successful; false on error
    • asMetaData

      public MetaData asMetaData()
      Get all of the meta data values as a MetaData value lobject.

      The returned object is immutable and "disconnected" from the underlying media.

      Returns:
      meta data