001package react4j.dom.proptypes.html.attributeTypes; 002 003import java.lang.annotation.Documented; 004import javax.annotation.Nonnull; 005import org.intellij.lang.annotations.MagicConstant; 006 007/** 008 * An enumerated value to provide a hint to the browser about what the author thinks will lead to the best user experience. 009 */ 010@Documented 011@MagicConstant( valuesFromClass = ButtonType.class ) 012public @interface AudioPreload 013{ 014 /** 015 * Indicates that the audio should not be preloaded. 016 */ 017 @Nonnull 018 String none = "none"; 019 /** 020 * Indicates that only audio metadata (e.g. length) is fetched. 021 */ 022 @Nonnull 023 String metadata = "metadata"; 024 /** 025 * Indicates that the whole audio file can be downloaded, even if the user is not expected to use it. 026 */ 027 @Nonnull 028 String auto = "auto"; 029}