Language

MediaDataSource.Size Property

Definition

Called to get the size of the data source.

public abstract long Size { [Android.Runtime.Register("getSize", "()J", "GetGetSizeHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getSize", "()J", "GetGetSizeHandler", ApiSince=23)>]
member this.Size : int64

Property Value

the size of data source in bytes, or -1 if the size is unknown.

Attributes

Remarks

Called to get the size of the data source.

Android reference for android.media.MediaDataSource.getSize.

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