Udostępnij za pośrednictwem


MediaExtractor.HasCacheReachedEndOfStream Property

Definition

Returns true iff we are caching data and the cache has reached the end of the data stream (for now, a future seek may of course restart the fetching of data).

public bool HasCacheReachedEndOfStream { [Android.Runtime.Register("hasCacheReachedEndOfStream", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasCacheReachedEndOfStream", "()Z", "")>]
member this.HasCacheReachedEndOfStream : bool

Property Value

Attributes

Remarks

Returns true iff we are caching data and the cache has reached the end of the data stream (for now, a future seek may of course restart the fetching of data). This API only returns a meaningful result if #getCachedDuration indicates the presence of a cache, i.e. does NOT return -1.

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

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