다음을 통해 공유


MediaExtractor.Advance Method

Definition

Advance to the next sample.

[Android.Runtime.Register("advance", "()Z", "")]
public bool Advance ();
[<Android.Runtime.Register("advance", "()Z", "")>]
member this.Advance : unit -> bool

Returns

Attributes

Remarks

Advance to the next sample. Returns false if no more sample data is available (end of stream).

When extracting a local file, the behaviors of #advance and #readSampleData are undefined in presence of concurrent writes to the same local file; more specifically, end of stream could be signalled earlier than expected.

Java documentation for android.media.MediaExtractor.advance().

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