\doxysection{com.\+tritondigital.\+player.\+Android\+Player Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer}{}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer}\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}


Wraps Android\textquotesingle{}s native player.  


Inheritance diagram for com.\+tritondigital.\+player.\+Android\+Player\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a2dbd8a3764ae95abb90d3416be137f50}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a2dbd8a3764ae95abb90d3416be137f50} 
{\bfseries Android\+Player} (@Non\+Null final Context context, @Non\+Null final Bundle settings)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
boolean \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a846fe50a23cf90b80f6a8854c61f49b8}{is\+Timeshift\+Streaming}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_abd8f2790634e0002e78eab6f2c486811}{set\+Volume}} (float volume)
\item 
int \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a8e8806a2ed7f41bcd6525ab085fcb2eb}{get\+Duration}} ()
\item 
int \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_af0714a3b80eac5f2e1439e42f4d9c2bb}{get\+Position}} ()
\item 
float \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a55eec672aa57bb79a98aa539a4adb445}{get\+Volume}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a69f3431c27dd20522f632a92ee78811a}{Media\+Player}} (Context context, Bundle settings)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
Bundle {\bfseries get\+Settings} ()
\begin{DoxyCompactList}\small\item\em Returns the settings of this player. \end{DoxyCompactList}\item 
int {\bfseries get\+State} ()
\begin{DoxyCompactList}\small\item\em Returns the player\textquotesingle{}s state. \end{DoxyCompactList}\item 
Bundle {\bfseries get\+Last\+Cue\+Point} ()
\begin{DoxyCompactList}\small\item\em Returns the last received cue point. \end{DoxyCompactList}\item 
int {\bfseries get\+Last\+Error\+Code} ()
\begin{DoxyCompactList}\small\item\em Returns the last error code. \end{DoxyCompactList}\item 
\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnCuePointReceivedListener}{On\+Cue\+Point\+Received\+Listener}} {\bfseries get\+On\+Cue\+Point\+Received\+Listener} ()
\begin{DoxyCompactList}\small\item\em Returns the cue point listener. \end{DoxyCompactList}\item 
\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnMetaDataReceivedListener}{On\+Meta\+Data\+Received\+Listener}} {\bfseries get\+Metadata\+Listener} ()
\begin{DoxyCompactList}\small\item\em Returns the metadata listener. \end{DoxyCompactList}\item 
\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnInfoListener}{On\+Info\+Listener}} {\bfseries get\+On\+Info\+Listener} ()
\begin{DoxyCompactList}\small\item\em Returns the info listener. \end{DoxyCompactList}\item 
\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnStateChangedListener}{On\+State\+Changed\+Listener}} {\bfseries get\+On\+State\+Changed\+Listener} ()
\begin{DoxyCompactList}\small\item\em Returns the state changed listener. \end{DoxyCompactList}\item 
\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnAnalyticsReceivedListener}{On\+Analytics\+Received\+Listener}} {\bfseries get\+Analytics\+Received\+Listener} ()
\item 
\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnCloudStreamInfoReceivedListener}{On\+Cloud\+Stream\+Info\+Received\+Listener}} {\bfseries get\+Cloud\+Stream\+Info\+Received\+Listener} ()
\item 
void {\bfseries set\+On\+Cue\+Point\+Received\+Listener} (\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnCuePointReceivedListener}{On\+Cue\+Point\+Received\+Listener}} listener)
\begin{DoxyCompactList}\small\item\em Sets the cue point event listener. \end{DoxyCompactList}\item 
void {\bfseries set\+On\+Meta\+Data\+Received\+Listener} (\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnMetaDataReceivedListener}{On\+Meta\+Data\+Received\+Listener}} listener)
\begin{DoxyCompactList}\small\item\em Sets the cue point event listener. \end{DoxyCompactList}\item 
void {\bfseries set\+On\+Info\+Listener} (\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnInfoListener}{On\+Info\+Listener}} listener)
\begin{DoxyCompactList}\small\item\em Sets the info listener. \end{DoxyCompactList}\item 
void {\bfseries set\+On\+State\+Changed\+Listener} (\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnStateChangedListener}{On\+State\+Changed\+Listener}} listener)
\begin{DoxyCompactList}\small\item\em Sets the state changed listener. \end{DoxyCompactList}\item 
void {\bfseries set\+On\+Analytics\+Received\+Listener} (\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnAnalyticsReceivedListener}{On\+Analytics\+Received\+Listener}} listener)
\begin{DoxyCompactList}\small\item\em Sets the analytics changed listener. \end{DoxyCompactList}\item 
void {\bfseries set\+On\+Cloud\+Stream\+Info\+Received\+Listener} (\mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnCloudStreamInfoReceivedListener}{On\+Cloud\+Stream\+Info\+Received\+Listener}} listener)
\begin{DoxyCompactList}\small\item\em Sets the timeshift programs listener. \end{DoxyCompactList}\item 
boolean \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a9211c666e7b048430b6d2e1b97fc5768}{is\+Seekable}} ()
\begin{DoxyCompactList}\small\item\em Returns true if the media is seekable in the current state. \end{DoxyCompactList}\item 
boolean {\bfseries is\+Pausable} ()
\begin{DoxyCompactList}\small\item\em Returns true if the media can be paused at the current state. \end{DoxyCompactList}\item 
final void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a0b85bfd7ba27a59aa66e39394657f0c6}{seek\+To}} (int position, int original)
\begin{DoxyCompactList}\small\item\em Seek to the provided position. \end{DoxyCompactList}\item 
final void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_aea3bdb519a9f7310f0c880465ea17064}{seek\+To}} (int position)
\begin{DoxyCompactList}\small\item\em Seek to the provided position. \end{DoxyCompactList}\item 
void {\bfseries seek} (int delta)
\begin{DoxyCompactList}\small\item\em Seek to a time from the current position. \end{DoxyCompactList}\item 
final void {\bfseries seek\+To\+Live} ()
\item 
void {\bfseries get\+Cloud\+Stream\+Info} ()
\item 
void {\bfseries play\+Program} (String program\+Id)
\item 
final void {\bfseries play} ()
\item 
final void {\bfseries play} (boolean timeshift\+Streaming)
\begin{DoxyCompactList}\small\item\em Starts the playback. \end{DoxyCompactList}\item 
final void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_aa9f6233637a15089831ed4faec5a6799}{pause}} ()
\begin{DoxyCompactList}\small\item\em Pauses the playback so it can be resumed at the same position by calling play(). \end{DoxyCompactList}\item 
final void {\bfseries change\+Speed} (Float speed)
\item 
final void {\bfseries stop} ()
\begin{DoxyCompactList}\small\item\em Stops the playback. \end{DoxyCompactList}\item 
final void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a2d0403557ffa5d482f75679baa2f6f13}{release}} ()
\begin{DoxyCompactList}\small\item\em Releases the player resources. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a281031f80d3d9b95a2ae72efbd45b860}{get\+Error\+Code}} ()
\end{DoxyCompactItemize}
\doxysubsubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ad5b5012de32d198cfe168b8bae6b49b6}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ad5b5012de32d198cfe168b8bae6b49b6} 
static final String {\bfseries SETTINGS\+\_\+\+STREAM\+\_\+\+URL} = \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1PlayerConsts_af51d3ee70cf281aa49055c642e727e5a}{Player\+Consts.\+STREAM\+\_\+\+URL}}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a7405e4246d61c90223c5d29253366a02}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a7405e4246d61c90223c5d29253366a02} 
static final String {\bfseries SETTINGS\+\_\+\+MIME\+\_\+\+TYPE} = \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1PlayerConsts_a586d9ff984dd60e0034f48c6d3f92bb5}{Player\+Consts.\+MIME\+\_\+\+TYPE}}
\begin{DoxyCompactList}\small\item\em Used only for FLV streams \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ac2b34ad5230239910829b24d563bc82c}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ac2b34ad5230239910829b24d563bc82c} 
static final String {\bfseries SETTINGS\+\_\+\+TRANSPORT} = \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1PlayerConsts_a0ea9163bd9ea05638aaaa07ea4199469}{Player\+Consts.\+TRANSPORT}}
\begin{DoxyCompactList}\small\item\em Use only for FLV streams \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_af1fe125c882f3b24faf5103851a4f22c}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_af1fe125c882f3b24faf5103851a4f22c} 
static final String {\bfseries SETTINGS\+\_\+\+USER\+\_\+\+AGENT} = Player\+Consts.\+USER\+\_\+\+AGENT
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_aef9cdde3dd2ce38abce8578f956da987}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_aef9cdde3dd2ce38abce8578f956da987} 
static final String {\bfseries SETTINGS\+\_\+\+POSITION} = Player\+Consts.\+POSITION
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}}
\begin{DoxyCompactItemize}
\item 
static final int {\bfseries ERROR\+\_\+\+LOW\+\_\+\+LEVEL\+\_\+\+PLAYER\+\_\+\+ERROR} = 210
\begin{DoxyCompactList}\small\item\em Error code indicating an error in the OS player or Google Cast. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+CONNECTION\+\_\+\+FAILED} = 211
\begin{DoxyCompactList}\small\item\em Error code indicating a connection problem to the server. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+CONNECTION\+\_\+\+TIMEOUT} = 408
\begin{DoxyCompactList}\small\item\em Error code indicating than the connection has timed out. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+UNEXPECTED\+\_\+\+END\+\_\+\+OF\+\_\+\+MEDIA} = 213
\begin{DoxyCompactList}\small\item\em Error code indicating the end of a media which shouldn\textquotesingle{}t occur on live streaming. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+UNEXPECTED\+\_\+\+END\+\_\+\+OF\+\_\+\+MEDIA\+\_\+\+ANDROID\+\_\+\+PLAYER} = 214
\begin{DoxyCompactList}\small\item\em Error code indicating the end of a media which shouldn\textquotesingle{}t occur on live streaming. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+EXOPLAYER\+\_\+\+BUFFER\+\_\+\+RECONNECT} = 212
\begin{DoxyCompactList}\small\item\em Error code indicating that low delay increased 3 times an still did not fill the buffer. \end{DoxyCompactList}\item 
static final int \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a62d5aedde9b5868133a7f8eb5f7eba3c}{ERROR\+\_\+\+EXOPLAYER\+\_\+\+BUFFER\+\_\+\+TIMEOUT}} = 218
\begin{DoxyCompactList}\small\item\em Error code indicating buffer timed out. \end{DoxyCompactList}\item 
static final int \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a22190484ade67b33c7c2234a4d3b13c8}{ERROR\+\_\+\+EXOPLAYER\+\_\+\+ON\+\_\+\+ERROR}} = 219
\begin{DoxyCompactList}\small\item\em Error code indicating buffer timed out. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+GEOBLOCKED} = 453
\begin{DoxyCompactList}\small\item\em Error code indicating that the stream can\textquotesingle{}t be used in the user location. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+INVALID\+\_\+\+URL} = 216
\begin{DoxyCompactList}\small\item\em Error code indicating that the URL isn\textquotesingle{}t in a valid format. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+NO\+\_\+\+NETWORK} = 217
\begin{DoxyCompactList}\small\item\em Error code indicating the lack of network connectivity. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+NOT\+\_\+\+FOUND} = 404
\begin{DoxyCompactList}\small\item\em Error code indicating that the input source couldn\textquotesingle{}t be found. \end{DoxyCompactList}\item 
static final int {\bfseries ERROR\+\_\+\+SERVICE\+\_\+\+UNAVAILABLE} = 503
\begin{DoxyCompactList}\small\item\em Error code indicating that no server is available. \end{DoxyCompactList}\item 
static final int {\bfseries STATE\+\_\+\+COMPLETED} = 200
\begin{DoxyCompactList}\small\item\em The end of the media source has been reached (on-\/demand only) \end{DoxyCompactList}\item 
static final int {\bfseries STATE\+\_\+\+CONNECTING} = 201
\begin{DoxyCompactList}\small\item\em The player is connecting to the server or buffering. \end{DoxyCompactList}\item 
static final int {\bfseries STATE\+\_\+\+ERROR} = 202
\begin{DoxyCompactList}\small\item\em An error has occurred. \end{DoxyCompactList}\item 
static final int {\bfseries STATE\+\_\+\+PLAYING} = 203
\begin{DoxyCompactList}\small\item\em The playback is started. \end{DoxyCompactList}\item 
static final int {\bfseries STATE\+\_\+\+RELEASED} = 204
\begin{DoxyCompactList}\small\item\em The resources have been released and this player instance can no longer be used. \end{DoxyCompactList}\item 
static final int {\bfseries STATE\+\_\+\+STOPPED} = 205
\begin{DoxyCompactList}\small\item\em The playback is stopped. \end{DoxyCompactList}\item 
static final int {\bfseries STATE\+\_\+\+PAUSED} = 206
\begin{DoxyCompactList}\small\item\em The playback is paused (on-\/demand only) \end{DoxyCompactList}\item 
static final int {\bfseries DURATION\+\_\+\+LIVE\+\_\+\+STREAM} = Integer.\+MAX\+\_\+\+VALUE
\begin{DoxyCompactList}\small\item\em Live stream. \end{DoxyCompactList}\item 
static final int {\bfseries DURATION\+\_\+\+UNKNOWN} = -\/1
\begin{DoxyCompactList}\small\item\em Unknown duration. \end{DoxyCompactList}\item 
static final int {\bfseries POSITION\+\_\+\+UNKNOWN} = 0
\begin{DoxyCompactList}\small\item\em Unknown position. \end{DoxyCompactList}\item 
static final float {\bfseries VOLUME\+\_\+\+DUCK} = 0.\+2f
\begin{DoxyCompactList}\small\item\em Ducked volume. \end{DoxyCompactList}\item 
static final float {\bfseries VOLUME\+\_\+\+MUTE} = 0.\+0f
\begin{DoxyCompactList}\small\item\em Muted volume. \end{DoxyCompactList}\item 
static final float {\bfseries VOLUME\+\_\+\+NORMAL} = 1.\+0f
\begin{DoxyCompactList}\small\item\em Normal volume. \end{DoxyCompactList}\item 
static final int {\bfseries INFO\+\_\+\+ALTERNATE\+\_\+\+MOUNT} = 270
\begin{DoxyCompactList}\small\item\em A the player has connected to an alternate mount. \end{DoxyCompactList}\item 
static final int {\bfseries INFO\+\_\+\+SEEK\+\_\+\+COMPLETED} = 271
\begin{DoxyCompactList}\small\item\em A seek operation has completed. \end{DoxyCompactList}\item 
static final int {\bfseries INFO\+\_\+\+DURATION\+\_\+\+CHANGED} = 272
\begin{DoxyCompactList}\small\item\em Media duration changed (extra=duration) \end{DoxyCompactList}\item 
static final int {\bfseries INFO\+\_\+\+SEEKABLE\+\_\+\+CHANGED} = 273
\begin{DoxyCompactList}\small\item\em Seekable state change (0=false / 1=true) \end{DoxyCompactList}\item 
static final int {\bfseries INFO\+\_\+\+SEEK\+\_\+\+STARTED} = 274
\begin{DoxyCompactList}\small\item\em A seek operation has begun. \end{DoxyCompactList}\item 
static final int {\bfseries INFO\+\_\+\+BUFFERING\+\_\+\+START} = 275
\begin{DoxyCompactList}\small\item\em Temporarily pausing playback internally in order to buffer more data. \end{DoxyCompactList}\item 
static final int {\bfseries INFO\+\_\+\+BUFFERING\+\_\+\+COMPLETED} = 276
\begin{DoxyCompactList}\small\item\em The playback is resumed after filling buffers. \end{DoxyCompactList}\item 
static final int \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_afd6c9cfbb8ad8b513a8d8c88a4e1ff3d}{ERROR\+\_\+\+END\+\_\+\+OF\+\_\+\+MEDIA}} = \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a14bd94f6b0348ddfc1ff46c4326208ec}{ERROR\+\_\+\+UNEXPECTED\+\_\+\+END\+\_\+\+OF\+\_\+\+MEDIA}}
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ab50fe1315350b8bcbf73bca4cc9fef06}{internal\+Play}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ac913b67f145fc2918d51ccea7155603a}{internal\+Play}} (boolean timeshift\+Streaming)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ada6fc601a95111e33ffa28fd83397d58}{internal\+Pause}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_aa2fee4e4acd2ae07eb2cb2a830a6e71f}{internal\+Change\+Speed}} (Float speed)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a29a198d9241d3deb20908f541ee12166}{internal\+Stop}} ()
\begin{DoxyCompactList}\small\item\em Only does the state changed because this method gets called when releasing a player. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ab580fc1314d3279f988799551a7ab81f}{internal\+Release}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a196e1a9e1535139b21ae4accc3d01d48}{internal\+Get\+Cloud\+Stream\+Info}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a3ce70b763b65254dcbcf5a6f69f88f08}{internal\+Play\+Program}} (String program\+Id)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ac9a402af82071ef7384adf2d528c0080}{internal\+Seek\+To}} (int position, int original)
\item 
String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a56e3644e90ddd5b97edae2311dadd29f}{make\+Tag}} ()
\item 
boolean \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a9516903e15acc11401e71e5d952f3d5c}{is\+Event\+Logging\+Enabled}} ()
\end{DoxyCompactItemize}
\doxysubsubsection*{Additional Inherited Members}
\doxysubsection*{Static Public Member Functions inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}}
\begin{DoxyCompactItemize}
\item 
static boolean {\bfseries is\+Play\+Valid\+In\+State} (int state)
\begin{DoxyCompactList}\small\item\em Returns true if a play request is valid in the provided state. \end{DoxyCompactList}\item 
static boolean \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_ad433d114dd8d7c533fa237372f5b921c}{is\+Transition\+Valid}} (int state0, int state1)
\begin{DoxyCompactList}\small\item\em Returns true if the provided state transition is valid. \end{DoxyCompactList}\item 
static String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_af2d532fc24b0cd17b7dbd59756f6496d}{debug\+Error\+To\+Str}} (int error\+Code)
\begin{DoxyCompactList}\small\item\em Utility method to convert an error code to a debug string. \end{DoxyCompactList}\item 
static String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_aca11b94dc739028007e1899bd1ddad6e}{debug\+Info\+To\+Str}} (int info)
\begin{DoxyCompactList}\small\item\em Utility method to convert an info code to a debug string. \end{DoxyCompactList}\item 
static String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a7cf3837f8584f61f7dc04247b7dfdc13}{debug\+State\+To\+Str}} (int state)
\begin{DoxyCompactList}\small\item\em Utility method to convert the player state to a debug string. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Protected Attributes inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}}
\begin{DoxyCompactItemize}
\item 
final String {\bfseries TAG} = make\+Tag()
\item 
final Bundle {\bfseries m\+Settings}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Wraps Android\textquotesingle{}s native player. 

TODO\+: fix volume 

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a8e8806a2ed7f41bcd6525ab085fcb2eb}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a8e8806a2ed7f41bcd6525ab085fcb2eb} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!getDuration@{getDuration}}
\index{getDuration@{getDuration}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{getDuration()}{getDuration()}}
{\footnotesize\ttfamily int com.\+tritondigital.\+player.\+Android\+Player.\+get\+Duration (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a7f28cdc04551b40058a44a4bcfa35ef5}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_af0714a3b80eac5f2e1439e42f4d9c2bb}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_af0714a3b80eac5f2e1439e42f4d9c2bb} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!getPosition@{getPosition}}
\index{getPosition@{getPosition}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{getPosition()}{getPosition()}}
{\footnotesize\ttfamily int com.\+tritondigital.\+player.\+Android\+Player.\+get\+Position (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_aa3c9bebfa25eb07fdd75ea5506a27cf3}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a55eec672aa57bb79a98aa539a4adb445}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a55eec672aa57bb79a98aa539a4adb445} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!getVolume@{getVolume}}
\index{getVolume@{getVolume}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{getVolume()}{getVolume()}}
{\footnotesize\ttfamily float com.\+tritondigital.\+player.\+Android\+Player.\+get\+Volume (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_af46cf8d8704088df27231490670b4703}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_aa2fee4e4acd2ae07eb2cb2a830a6e71f}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_aa2fee4e4acd2ae07eb2cb2a830a6e71f} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalChangeSpeed@{internalChangeSpeed}}
\index{internalChangeSpeed@{internalChangeSpeed}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalChangeSpeed()}{internalChangeSpeed()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Change\+Speed (\begin{DoxyParamCaption}\item[{Float}]{speed }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a196e1a9e1535139b21ae4accc3d01d48}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a196e1a9e1535139b21ae4accc3d01d48} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalGetCloudStreamInfo@{internalGetCloudStreamInfo}}
\index{internalGetCloudStreamInfo@{internalGetCloudStreamInfo}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalGetCloudStreamInfo()}{internalGetCloudStreamInfo()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Get\+Cloud\+Stream\+Info (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ada6fc601a95111e33ffa28fd83397d58}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ada6fc601a95111e33ffa28fd83397d58} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalPause@{internalPause}}
\index{internalPause@{internalPause}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalPause()}{internalPause()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Pause (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ab50fe1315350b8bcbf73bca4cc9fef06}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ab50fe1315350b8bcbf73bca4cc9fef06} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalPlay@{internalPlay}}
\index{internalPlay@{internalPlay}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalPlay()}{internalPlay()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Play (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ac913b67f145fc2918d51ccea7155603a}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ac913b67f145fc2918d51ccea7155603a} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalPlay@{internalPlay}}
\index{internalPlay@{internalPlay}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalPlay()}{internalPlay()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Play (\begin{DoxyParamCaption}\item[{boolean}]{timeshift\+Streaming }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a3ce70b763b65254dcbcf5a6f69f88f08}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a3ce70b763b65254dcbcf5a6f69f88f08} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalPlayProgram@{internalPlayProgram}}
\index{internalPlayProgram@{internalPlayProgram}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalPlayProgram()}{internalPlayProgram()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Play\+Program (\begin{DoxyParamCaption}\item[{String}]{program\+Id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ab580fc1314d3279f988799551a7ab81f}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ab580fc1314d3279f988799551a7ab81f} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalRelease@{internalRelease}}
\index{internalRelease@{internalRelease}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalRelease()}{internalRelease()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Release (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ac9a402af82071ef7384adf2d528c0080}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_ac9a402af82071ef7384adf2d528c0080} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalSeekTo@{internalSeekTo}}
\index{internalSeekTo@{internalSeekTo}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalSeekTo()}{internalSeekTo()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Seek\+To (\begin{DoxyParamCaption}\item[{int}]{position,  }\item[{int}]{original }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a29a198d9241d3deb20908f541ee12166}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a29a198d9241d3deb20908f541ee12166} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!internalStop@{internalStop}}
\index{internalStop@{internalStop}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{internalStop()}{internalStop()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+internal\+Stop (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Only does the state changed because this method gets called when releasing a player. 

stop() should NOT be called directly on this player. Use "{}release()"{} instead. 

Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a9516903e15acc11401e71e5d952f3d5c}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a9516903e15acc11401e71e5d952f3d5c} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!isEventLoggingEnabled@{isEventLoggingEnabled}}
\index{isEventLoggingEnabled@{isEventLoggingEnabled}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{isEventLoggingEnabled()}{isEventLoggingEnabled()}}
{\footnotesize\ttfamily boolean com.\+tritondigital.\+player.\+Android\+Player.\+is\+Event\+Logging\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a846fe50a23cf90b80f6a8854c61f49b8}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a846fe50a23cf90b80f6a8854c61f49b8} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!isTimeshiftStreaming@{isTimeshiftStreaming}}
\index{isTimeshiftStreaming@{isTimeshiftStreaming}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{isTimeshiftStreaming()}{isTimeshiftStreaming()}}
{\footnotesize\ttfamily boolean com.\+tritondigital.\+player.\+Android\+Player.\+is\+Timeshift\+Streaming (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a848e4c2cb9593b1dae548809e30cc648}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a56e3644e90ddd5b97edae2311dadd29f}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_a56e3644e90ddd5b97edae2311dadd29f} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!makeTag@{makeTag}}
\index{makeTag@{makeTag}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{makeTag()}{makeTag()}}
{\footnotesize\ttfamily String com.\+tritondigital.\+player.\+Android\+Player.\+make\+Tag (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}.

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_abd8f2790634e0002e78eab6f2c486811}\label{classcom_1_1tritondigital_1_1player_1_1AndroidPlayer_abd8f2790634e0002e78eab6f2c486811} 
\index{com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}!setVolume@{setVolume}}
\index{setVolume@{setVolume}!com.tritondigital.player.AndroidPlayer@{com.tritondigital.player.AndroidPlayer}}
\doxysubsubsection{\texorpdfstring{setVolume()}{setVolume()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+player.\+Android\+Player.\+set\+Volume (\begin{DoxyParamCaption}\item[{float}]{volume }\end{DoxyParamCaption})}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer_a9dc760e46125b273ce80f4cd0a6267c7}{com.\+tritondigital.\+player.\+Media\+Player}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
player/src/main/java/com/tritondigital/player/Android\+Player.\+java\end{DoxyCompactItemize}
