Id3Decoder.FramePredicate


interface Id3Decoder.FramePredicate


A predicate for determining whether individual frames should be decoded.

Summary

Public functions

Boolean
evaluate(majorVersion: Int, id0: Int, id1: Int, id2: Int, id3: Int)

Returns whether a frame with the specified parameters should be decoded.

Public functions

evaluate

fun evaluate(majorVersion: Int, id0: Int, id1: Int, id2: Int, id3: Int): Boolean

Returns whether a frame with the specified parameters should be decoded.

Parameters
majorVersion: Int

The major version of the ID3 tag.

id0: Int

The first byte of the frame ID.

id1: Int

The second byte of the frame ID.

id2: Int

The third byte of the frame ID.

id3: Int

The fourth byte of the frame ID.

Returns
Boolean

Whether the frame should be decoded.