\doxysection{com.\+tritondigital.\+sdksample.\+player.\+Station\+Player\+Activity Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity}{}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity}\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}


Shows how to play a station using Triton Player.  


Inheritance diagram for com.\+tritondigital.\+sdksample.\+player.\+Station\+Player\+Activity\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=8.459215cm]{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a980d695fed01b9dcf3b166f6b2a559fa}{on\+Click}} (View v)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a5a597fc4d5a5ba535fccd9ef2ecff7f2}{on\+Info}} (Media\+Player player, int info, int extra)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a6975c9bc4d5d4cc01f143b10580562fd}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a6975c9bc4d5d4cc01f143b10580562fd} 
void {\bfseries on\+Progress\+Changed} (Seek\+Bar seek\+Bar, int progress, boolean from\+User)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a7174d0e934c9da1e5930326e5275f771}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a7174d0e934c9da1e5930326e5275f771} 
void {\bfseries on\+Start\+Tracking\+Touch} (Seek\+Bar seek\+Bar)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_af33af1fe7794c8eda65595a7fe371f53}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_af33af1fe7794c8eda65595a7fe371f53} 
void {\bfseries on\+Stop\+Tracking\+Touch} (Seek\+Bar seek\+Bar)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_ace2960df0a628bcf322a9d764213b65d}{on\+Cloud\+Stream\+Info\+Received\+Listener}} (Media\+Player player, String cloud\+Stream\+Info)
\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 
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_1StationPlayerActivity_a636bdd03332a08b66fc031bb7773893c}{on\+Create}} (Bundle saved\+Instance\+State)
\item 
int \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a3e838db508bba3eba050e25ef39555be}{get\+Layout}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a35f9bf14571e4cfb42e63989624e4e99}{reset}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a9b10852d408077fd455bb7c11748ae17}{create\+Player}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_af0a9881ad1dbbd0c512109a19c14b110}{start\+Player}} ()
\item 
Bundle \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a84b1bdb543fe55bd7f40628d4c994c73}{create\+Player\+Settings}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a2d9e8d4fac8d9a001028d79d57996d59}{set\+Input\+Enabled}} (boolean enabled)
\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 start\+Program} ()
\item 
void {\bfseries stop\+Player} ()
\item 
void {\bfseries release\+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 station using Triton Player. 

IMPORTANT\+: You must use your real broadcaster and station names when making an app in order to maximise your advertising revenues. 

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a9b10852d408077fd455bb7c11748ae17}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a9b10852d408077fd455bb7c11748ae17} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!createPlayer@{createPlayer}}
\index{createPlayer@{createPlayer}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{createPlayer()}{createPlayer()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Station\+Player\+Activity.\+create\+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_1StationPlayerActivity_a84b1bdb543fe55bd7f40628d4c994c73}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a84b1bdb543fe55bd7f40628d4c994c73} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!createPlayerSettings@{createPlayerSettings}}
\index{createPlayerSettings@{createPlayerSettings}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{createPlayerSettings()}{createPlayerSettings()}}
{\footnotesize\ttfamily Bundle com.\+tritondigital.\+sdksample.\+player.\+Station\+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_1StationPlayerActivity_a3e838db508bba3eba050e25ef39555be}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a3e838db508bba3eba050e25ef39555be} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!getLayout@{getLayout}}
\index{getLayout@{getLayout}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{getLayout()}{getLayout()}}
{\footnotesize\ttfamily int com.\+tritondigital.\+sdksample.\+player.\+Station\+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_1StationPlayerActivity_a980d695fed01b9dcf3b166f6b2a559fa}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a980d695fed01b9dcf3b166f6b2a559fa} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!onClick@{onClick}}
\index{onClick@{onClick}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onClick()}{onClick()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Station\+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_1StationPlayerActivity_ace2960df0a628bcf322a9d764213b65d}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_ace2960df0a628bcf322a9d764213b65d} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!onCloudStreamInfoReceivedListener@{onCloudStreamInfoReceivedListener}}
\index{onCloudStreamInfoReceivedListener@{onCloudStreamInfoReceivedListener}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onCloudStreamInfoReceivedListener()}{onCloudStreamInfoReceivedListener()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Station\+Player\+Activity.\+on\+Cloud\+Stream\+Info\+Received\+Listener (\begin{DoxyParamCaption}\item[{Media\+Player}]{player,  }\item[{String}]{cloud\+Stream\+Info }\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_1StationPlayerActivity_a636bdd03332a08b66fc031bb7773893c}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a636bdd03332a08b66fc031bb7773893c} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!onCreate@{onCreate}}
\index{onCreate@{onCreate}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onCreate()}{onCreate()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Station\+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_1StationPlayerActivity_a5a597fc4d5a5ba535fccd9ef2ecff7f2}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a5a597fc4d5a5ba535fccd9ef2ecff7f2} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!onInfo@{onInfo}}
\index{onInfo@{onInfo}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onInfo()}{onInfo()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Station\+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_1StationPlayerActivity_a35f9bf14571e4cfb42e63989624e4e99}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a35f9bf14571e4cfb42e63989624e4e99} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!reset@{reset}}
\index{reset@{reset}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{reset()}{reset()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Station\+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_1StationPlayerActivity_a2d9e8d4fac8d9a001028d79d57996d59}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_a2d9e8d4fac8d9a001028d79d57996d59} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!setInputEnabled@{setInputEnabled}}
\index{setInputEnabled@{setInputEnabled}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{setInputEnabled()}{setInputEnabled()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Station\+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}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_af0a9881ad1dbbd0c512109a19c14b110}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1StationPlayerActivity_af0a9881ad1dbbd0c512109a19c14b110} 
\index{com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}!startPlayer@{startPlayer}}
\index{startPlayer@{startPlayer}!com.tritondigital.sdksample.player.StationPlayerActivity@{com.tritondigital.sdksample.player.StationPlayerActivity}}
\doxysubsubsection{\texorpdfstring{startPlayer()}{startPlayer()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Station\+Player\+Activity.\+start\+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}}.



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