Share via


SubtitleData.GetData Method

Definition

Returns the encoded data for the subtitle content.

[Android.Runtime.Register("getData", "()[B", "", ApiSince=28)]
public byte[] GetData ();
[<Android.Runtime.Register("getData", "()[B", "", ApiSince=28)>]
member this.GetData : unit -> byte[]

Returns

Byte[]

the encoded subtitle data

Attributes

Remarks

Returns the encoded data for the subtitle content. Encoding format depends on the subtitle type, refer to CEA 708, CEA/EIA 608 and WebVTT, defined by the MIME type of the subtitle track.

Java documentation for android.media.SubtitleData.getData().

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