Share via


MediaParser.ParameterMp3EnableIndexSeeking Field

Definition

Sets whether MP3 parsing should generate a time-to-byte mapping.

[Android.Runtime.Register("PARAMETER_MP3_ENABLE_INDEX_SEEKING", ApiSince=30)]
public const string ParameterMp3EnableIndexSeeking;
[<Android.Runtime.Register("PARAMETER_MP3_ENABLE_INDEX_SEEKING", ApiSince=30)>]
val mutable ParameterMp3EnableIndexSeeking : string

Field Value

Attributes

Remarks

Sets whether MP3 parsing should generate a time-to-byte mapping. boolean expected. Default value is false.

Enabling this flag may require to scan a significant portion of the file to compute a seek point. Therefore, it should only be used if:

<ul> <li>the file is small, or <li>the bitrate is variable (or the type of bitrate is unknown) and the seeking metadata provided in the file is not precise enough (or is not present). </ul>

Java documentation for android.media.MediaParser.PARAMETER_MP3_ENABLE_INDEX_SEEKING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to