import FullBox from "./fullBox"; import Mpeg4BoxHeader from "../mpeg4BoxHeader"; import { ByteVector } from "../../byteVector"; import { File } from "../../file"; /** * This class extends {@link FullBox} to provide an implementation of an Apple AdditionalInfoBox. */ export default class AppleAdditionalInfoBox extends FullBox { /** * Private constructor to force construction via static functions. */ private constructor(); /** * Constructs and initializes a new instance of {@link AppleAdditionalInfoBox} with a provided header * and handler by reading the contents from a specified file. * @param header A {@link Mpeg4BoxHeader} object containing the header to use for the new instance. * @param file A {@link File} object to read the contents of the box from. * @param handlerType Type of the handler box object containing the handler that applies to the * new instance, or undefined if no handler applies. */ static fromFile(header: Mpeg4BoxHeader, file: File, handlerType: ByteVector): AppleAdditionalInfoBox; /** * Constructs and initializes a new instance of {@link FullBox} with a provided header, version, and flags. * @param type A {@link Mpeg4BoxHeader} object containing the header to use for the new instance. * @param version A value containing the version of the new instance. * @param flags A value containing the flags for the new instance. */ static fromTypeVersionAndFlags(type: ByteVector, version: number, flags: number): AppleAdditionalInfoBox; /** * Gets the text contained in the current instance. */ get text(): string; /** * Sets the text contained in the current instance. */ set text(v: string); }