\doxysection{com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity}{}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity}\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}


Shows how to play a basic media stream from a URL.  


Inheritance diagram for com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=8.433735cm]{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_abe62f15ad479031484afd1623c73d96f}{on\+Click}} (View v)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a643e12a6965dbd74c26a89170c5e46b8}{on\+Info}} (Media\+Player player, int info, int extra)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a0199385f9573602bd5a283cb77da2d1e}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a0199385f9573602bd5a283cb77da2d1e} 
void {\bfseries on\+Progress\+Changed} (Seek\+Bar seek\+Bar, int progress, boolean from\+User)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a2f6f4e2bba1a7f82ef55031f82b7d545}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a2f6f4e2bba1a7f82ef55031f82b7d545} 
void {\bfseries on\+Start\+Tracking\+Touch} (Seek\+Bar seek\+Bar)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a49c32689835413b37a62d168a70d74d9}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a49c32689835413b37a62d168a70d74d9} 
void {\bfseries on\+Stop\+Tracking\+Touch} (Seek\+Bar seek\+Bar)
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}}
\begin{DoxyCompactItemize}
\item 
boolean {\bfseries on\+Create\+Options\+Menu} (Menu menu)
\item 
void {\bfseries on\+Cue\+Point\+Received} (Media\+Player player, Bundle cue\+Point)
\item 
void {\bfseries on\+Analytics\+Received\+Listener} (Media\+Player player, Format format)
\item 
void {\bfseries on\+State\+Changed} (Media\+Player player, int state)
\item 
void {\bfseries on\+Meta\+Data\+Received} (Media\+Player player, Bundle metadata)
\item 
void {\bfseries on\+Cloud\+Stream\+Info\+Received\+Listener} (Media\+Player player, String cloud\+Stream\+Info)
\item 
String {\bfseries getm\+Program\+Unique\+Id} ()
\item 
void {\bfseries setm\+Program\+Unique\+Id} (String m\+Program\+Unique\+Id)
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a9452c069b737d12a29fa7388cfd78a16}{on\+Create}} (Bundle saved\+Instance\+State)
\item 
int \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_aa4e0dc7d23ea7e7fc4b81b5e5432c930}{get\+Layout}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a965f5e15468562f8c57d382ce733e2f7}{reset}} ()
\item 
Bundle \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a20dfa2bedaeea553a8461d4a0de43dda}{create\+Player\+Settings}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a010b1dc4dd1642b9a6cc01700a096c66}{set\+Input\+Enabled}} (boolean enabled)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a02286b759033c7a479b6ebea7735b2c2}{release\+Player}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}}
\begin{DoxyCompactItemize}
\item 
void {\bfseries on\+Post\+Create} (Bundle saved\+Instance\+State)
\item 
void {\bfseries on\+Resume} ()
\item 
void {\bfseries on\+Pause} ()
\item 
void {\bfseries on\+Destroy} ()
\item 
void {\bfseries seek} (int seconds)
\item 
void {\bfseries seek\+To\+Live} ()
\item 
void {\bfseries create\+Player} ()
\item 
void {\bfseries start\+Program} ()
\item 
void {\bfseries start\+Player} ()
\item 
void {\bfseries stop\+Player} ()
\end{DoxyCompactItemize}
\doxysubsubsection*{Additional Inherited Members}
\doxysubsection*{Protected Attributes inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}}
\begin{DoxyCompactItemize}
\item 
Text\+View {\bfseries m\+Player\+Log\+View}
\item 
Triton\+Player {\bfseries m\+Triton\+Player}
\item 
String\+Builder {\bfseries m\+Date\+Format\+Buffer} = new String\+Builder()
\end{DoxyCompactItemize}
\doxysubsection*{Static Protected Attributes inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}}
\begin{DoxyCompactItemize}
\item 
static final String {\bfseries IMAGE\+\_\+\+URI} = "{}http\+://mobileapps.\+streamtheworld.\+com/android/tritondigital\+\_\+tritonradio/icon\+\_\+512.\+png"{}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Shows how to play a basic media stream from a URL. 

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a20dfa2bedaeea553a8461d4a0de43dda}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a20dfa2bedaeea553a8461d4a0de43dda} 
\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}!createPlayerSettings@{createPlayerSettings}}
\index{createPlayerSettings@{createPlayerSettings}!com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}
\doxysubsubsection{\texorpdfstring{createPlayerSettings()}{createPlayerSettings()}}
{\footnotesize\ttfamily Bundle com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity.\+create\+Player\+Settings (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_aa4e0dc7d23ea7e7fc4b81b5e5432c930}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_aa4e0dc7d23ea7e7fc4b81b5e5432c930} 
\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}!getLayout@{getLayout}}
\index{getLayout@{getLayout}!com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}
\doxysubsubsection{\texorpdfstring{getLayout()}{getLayout()}}
{\footnotesize\ttfamily int com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity.\+get\+Layout (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_abe62f15ad479031484afd1623c73d96f}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_abe62f15ad479031484afd1623c73d96f} 
\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}!onClick@{onClick}}
\index{onClick@{onClick}!com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onClick()}{onClick()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity.\+on\+Click (\begin{DoxyParamCaption}\item[{View}]{v }\end{DoxyParamCaption})}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a9452c069b737d12a29fa7388cfd78a16}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a9452c069b737d12a29fa7388cfd78a16} 
\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}!onCreate@{onCreate}}
\index{onCreate@{onCreate}!com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onCreate()}{onCreate()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity.\+on\+Create (\begin{DoxyParamCaption}\item[{Bundle}]{saved\+Instance\+State }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a643e12a6965dbd74c26a89170c5e46b8}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a643e12a6965dbd74c26a89170c5e46b8} 
\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}!onInfo@{onInfo}}
\index{onInfo@{onInfo}!com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onInfo()}{onInfo()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity.\+on\+Info (\begin{DoxyParamCaption}\item[{Media\+Player}]{player,  }\item[{int}]{info,  }\item[{int}]{extra }\end{DoxyParamCaption})}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a02286b759033c7a479b6ebea7735b2c2}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a02286b759033c7a479b6ebea7735b2c2} 
\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}!releasePlayer@{releasePlayer}}
\index{releasePlayer@{releasePlayer}!com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}
\doxysubsubsection{\texorpdfstring{releasePlayer()}{releasePlayer()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity.\+release\+Player (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a965f5e15468562f8c57d382ce733e2f7}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a965f5e15468562f8c57d382ce733e2f7} 
\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}!reset@{reset}}
\index{reset@{reset}!com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}
\doxysubsubsection{\texorpdfstring{reset()}{reset()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity.\+reset (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a010b1dc4dd1642b9a6cc01700a096c66}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StreamPlayerActivity_a010b1dc4dd1642b9a6cc01700a096c66} 
\index{com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}!setInputEnabled@{setInputEnabled}}
\index{setInputEnabled@{setInputEnabled}!com.tritondigital.sdksample.player.StreamPlayerActivity@{com.tritondigital.sdksample.player.StreamPlayerActivity}}
\doxysubsubsection{\texorpdfstring{setInputEnabled()}{setInputEnabled()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Stream\+Player\+Activity.\+set\+Input\+Enabled (\begin{DoxyParamCaption}\item[{boolean}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1TritonPlayerActivity}{com.\+tritondigital.\+sdksample.\+player.\+Triton\+Player\+Activity}}.



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