public long[] getTrackNumbers() {

        List<TrackFragmentBox> trackBoxes = this.getBoxes(TrackFragmentBox.class, false);
        long[] trackNumbers = new long[trackBoxes.size()];
        for (int trackCounter = 0; trackCounter < trackBoxes.size(); trackCounter++) {
            TrackFragmentBox trackBoxe = trackBoxes.get(trackCounter);
            trackNumbers[trackCounter] = trackBoxe.getTrackFragmentHeaderBox().getTrackId();
        }
        return trackNumbers;
    }
public long [ ] getTrackNumbers ( ) { List < TrackFragmentBox > trackBoxes = this . getBoxes ( TrackFragmentBox . class , false ) ; long [ ] trackNumbers = new long [ trackBoxes . size ( ) ] ; for ( int trackCounter = 0 ; trackCounter < trackBoxes . size ( ) ; trackCounter ++ ) { TrackFragmentBox trackBoxe = trackBoxes . get ( trackCounter ) ; trackNumbers [ trackCounter ] = trackBoxe . getTrackFragmentHeaderBox ( ) . getTrackId ( ) ; } return trackNumbers ; }
Returns the track numbers associated with this <code>MovieBox</code>.

@return the tracknumbers (IDs) of the tracks in their order of appearance in the file