Klasse TocEntry

Alle implementierten Schnittstellen:
PointerInterface

public class TocEntry extends Record
  • Konstruktordetails

    • TocEntry

      public TocEntry(PointerContainer pointer)
    • TocEntry

      public TocEntry(int type, @Nonnull Str uid)
      Create new #GstTocEntry structure.
      Parameter:
      type - entry type.
      uid - unique ID (UID) in the whole TOC.
    • TocEntry

      public TocEntry(int type, String uid)
      Create new #GstTocEntry structure.
      Parameter:
      type - entry type.
      uid - unique ID (UID) in the whole TOC.
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • appendSubEntry

      public void appendSubEntry(@Nonnull TocEntry subentry)
      Appends the #GstTocEntry @subentry to @entry.
      Parameter:
      subentry - A #GstTocEntry
    • getEntryType

      public int getEntryType()
      Gibt zurück:
      @entry's entry type
    • getLoop

      public boolean getLoop(@Nullable Int loop_type, @Nullable Int repeat_count)
      Get @loop_type and @repeat_count values from the @entry and write them into
      appropriate storages. Loops are e.g. used by sampled instruments. GStreamer
      is not automatically applying the loop. The application can process this
      meta data and use it e.g. to send a seek-event to loop a section.
      Parameter:
      loop_type - the storage for the loop_type value, leave %NULL if not need.
      repeat_count - the storage for the repeat_count value, leave %NULL if not need.
      Gibt zurück:
      %TRUE if all non-%NULL storage pointers were filled with appropriate values, %FALSE otherwise.
    • getParent

      public TocEntry getParent()
      Gets the parent #GstTocEntry of @entry.
      Gibt zurück:
      The parent #GstTocEntry of @entry
    • getSubEntries

      public List getSubEntries()
      Gets the sub-entries of @entry.
      Gibt zurück:
      A #GList of #GstTocEntry of @entry
    • getTags

      public TagList getTags()
      Gets the tags for @entry.
      Gibt zurück:
      A #GstTagList for @entry
    • getToc

      public Toc getToc()
      Gets the parent #GstToc of @entry.
      Gibt zurück:
      The parent #GstToc of @entry
    • getUid

      public Str getUid()
      Gets the UID of @entry.
      Gibt zurück:
      The UID of @entry
    • isAlternative

      public boolean isAlternative()
      Gibt zurück:
      %TRUE if @entry's type is an alternative type, otherwise %FALSE
    • isSequence

      public boolean isSequence()
      Gibt zurück:
      %TRUE if @entry's type is a sequence type, otherwise %FALSE
    • mergeTags

      public void mergeTags(@Nullable TagList tags, int mode)
      Merge @tags into the existing tags of @entry using @mode.
      Parameter:
      tags - A #GstTagList or %NULL
      mode - A #GstTagMergeMode
    • setLoop

      public void setLoop(int loop_type, int repeat_count)
      Set @loop_type and @repeat_count values for the @entry.
      Parameter:
      loop_type - loop_type value to set.
      repeat_count - repeat_count value to set.
    • setStartStopTimes

      public void setStartStopTimes(long start, long stop)
      Set @start and @stop values for the @entry.
      Parameter:
      start - start value to set.
      stop - stop value to set.
    • setTags

      public void setTags(@Nullable TagList tags)
      Set a #GstTagList with tags for the complete @entry.
      Parameter:
      tags - A #GstTagList or %NULL
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()