get_subtitle_track


Description:

[ Version ( since = "1.4" ) ]
public int get_subtitle_track ()

Get the current subtitles track.

The number returned is the index of the subtiles track in the list returned by get_subtitle_tracks.

Parameters:

this

a Playback

Returns:

the index of the current subtitlest track, -1 if the media has no subtitles track or if the subtitles have been turned off