Udostępnij za pośrednictwem


SubtitleData(Int32, Int64, Int64, Byte[]) Constructor

Definition

Constructor.

[Android.Runtime.Register(".ctor", "(IJJ[B)V", "", ApiSince=29)]
public SubtitleData (int trackIndex, long startTimeUs, long durationUs, byte[] data);
[<Android.Runtime.Register(".ctor", "(IJJ[B)V", "", ApiSince=29)>]
new Android.Media.SubtitleData : int * int64 * int64 * byte[] -> Android.Media.SubtitleData

Parameters

trackIndex
Int32

the index of the media player track which contains this subtitle data.

startTimeUs
Int64

the start time in microsecond for the subtitle data

durationUs
Int64

the duration in microsecond for the subtitle data

data
Byte[]

the data array for the subtitle data. It should not be null. No data copying is made.

Attributes

Remarks

Constructor.

Java documentation for android.media.SubtitleData.SubtitleData(int, long, long, byte[]).

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