Class ID3Frame

  • All Implemented Interfaces:

    
    public abstract class ID3Frame
    
                        

    A generic ID3 frame.

    All ID3 frames returned by ID3Cue.getFrame inherit from this class. You should use is (in Kotlin) or instanceof (in Java) to check whether the frame is of a specific type (e.g. ID3Frame.Text), and cast to that type to access the inner data.

    This class and its subclasses are not stable to construct or inherit from in third-party code.

    See https://id3.org/ for more information.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class ID3Frame.Unknown

      An unknown ID3 frame.

      public final class ID3Frame.AttachedPicture

      An attached picture ID3 frame.

      See section 4.14 of https://id3.org/id3v2.4.0-frames for more information.

      public final class ID3Frame.Comments

      A comments ID3 frame.

      See section 4.10 of https://id3.org/id3v2.4.0-frames for more information.

      public final class ID3Frame.Chapter

      A chapter ID3 frame.

      See section 3.1 of https://id3.org/id3v2-chapters-1.0 for more information.

      public final class ID3Frame.ChapterToc

      A chapter table of contents ID3 frame.

      See section 3.2 of https://id3.org/id3v2-chapters-1.0 for more information.

      public final class ID3Frame.GeneralEncapsulatedObject

      A general encapsulated object ID3 frame.

      See section 4.15 of https://id3.org/id3v2.4.0-frames for more information.

      public final class ID3Frame.Private

      A private ID3 frame.

      See section 4.27 of https://id3.org/id3v2.4.0-frames for more information.

      public final class ID3Frame.Text

      A text ID3 frame.

      See section 4.2 of https://id3.org/id3v2.4.0-frames for more information.

      public final class ID3Frame.Url

      A URL link ID3 frame.

      See section 4.3 of https://id3.org/id3v2.4.0-frames for more information.

      public final class ID3Frame.Yospace

      A Yospace ID3 frame.

      See the Yospace documentation for more information.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String id
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getId() The identifier of the frame.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getId

         final String getId()

        The identifier of the frame.