public class

AndroidTrackInfo

extends Object
java.lang.Object
   ↳ com.ksyun.media.player.misc.AndroidTrackInfo

Summary

Constants
int MEDIA_TRACK_TYPE_AUDIO
int MEDIA_TRACK_TYPE_EXTERNAL_TIMEDTEXT
int MEDIA_TRACK_TYPE_METADATA
int MEDIA_TRACK_TYPE_SUBTITLE
int MEDIA_TRACK_TYPE_TIMEDTEXT
int MEDIA_TRACK_TYPE_UNKNOWN
int MEDIA_TRACK_TYPE_VIDEO
Public Methods
static AndroidTrackInfo[] fromMediaPlayer(MediaPlayer mp)
IMediaFormat getFormat()
String getInfoInline()
String getLanguage()
int getTrackIndex()
int getTrackType()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int MEDIA_TRACK_TYPE_AUDIO

Constant Value: 2 (0x00000002)

public static final int MEDIA_TRACK_TYPE_EXTERNAL_TIMEDTEXT

Constant Value: 100 (0x00000064)

public static final int MEDIA_TRACK_TYPE_METADATA

Constant Value: 5 (0x00000005)

public static final int MEDIA_TRACK_TYPE_SUBTITLE

Constant Value: 4 (0x00000004)

public static final int MEDIA_TRACK_TYPE_TIMEDTEXT

Constant Value: 3 (0x00000003)

public static final int MEDIA_TRACK_TYPE_UNKNOWN

Constant Value: 0 (0x00000000)

public static final int MEDIA_TRACK_TYPE_VIDEO

Constant Value: 1 (0x00000001)

Public Methods

public static AndroidTrackInfo[] fromMediaPlayer (MediaPlayer mp)

public IMediaFormat getFormat ()

public String getInfoInline ()

public String getLanguage ()

public int getTrackIndex ()

public int getTrackType ()

public String toString ()