\doxysection{com.\+tritondigital.\+sdksample.\+player.\+Sbm\+Player\+Activity Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity}{}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity}\index{com.tritondigital.sdksample.player.SbmPlayerActivity@{com.tritondigital.sdksample.player.SbmPlayerActivity}}


This example shows how to receive metadata when creating a custom player.  


Inheritance diagram for com.\+tritondigital.\+sdksample.\+player.\+Sbm\+Player\+Activity\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=0.473773cm]{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_aa247cb39d104b03f5eceb73ed1c70a18}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_aa247cb39d104b03f5eceb73ed1c70a18} 
void {\bfseries on\+Click} (View v)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_ab5347c42e6ae125702fef0d07ab7c0f0}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_ab5347c42e6ae125702fef0d07ab7c0f0} 
boolean {\bfseries on\+Error} (Media\+Player mp, int what, int extra)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a9fcc6997835331dd90f27dcba21d6137}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a9fcc6997835331dd90f27dcba21d6137} 
void {\bfseries on\+Prepared} (Media\+Player mp)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a028228a8e65a2285a1ebfe6a46faa96b}{on\+Cue\+Point\+Received}} (\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}} sbm\+Player, Bundle cue\+Point)
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a3fb5c5b267df3e6b5326c679611f3014}{on\+State\+Changed}} (\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}} sbm\+Player, int state)
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a53ac36f433680b45922bb3626fbaa3f6}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a53ac36f433680b45922bb3626fbaa3f6} 
void {\bfseries on\+Create} (Bundle saved\+Instance\+State)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_abfcc9a9a3053285dd69fe024b837121a}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_abfcc9a9a3053285dd69fe024b837121a} 
void {\bfseries on\+Resume} ()
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a84e06728660740f4dd0da942ddf445b6}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a84e06728660740f4dd0da942ddf445b6} 
void {\bfseries on\+Pause} ()
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a5bffc20d83d489b734c7ddf7d0172c79}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a5bffc20d83d489b734c7ddf7d0172c79} 
void {\bfseries on\+Destroy} ()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This example shows how to receive metadata when creating a custom player. 

IMPORTANT\+:
\begin{DoxyItemize}
\item NOT RECOMMENDED. You should use Triton\+Player instead
\item No support will be provided by Triton Mobile Team when using a custom player.
\item The Sbm\+Player must be recreated on each play request. 
\end{DoxyItemize}

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a028228a8e65a2285a1ebfe6a46faa96b}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a028228a8e65a2285a1ebfe6a46faa96b} 
\index{com.tritondigital.sdksample.player.SbmPlayerActivity@{com.tritondigital.sdksample.player.SbmPlayerActivity}!onCuePointReceived@{onCuePointReceived}}
\index{onCuePointReceived@{onCuePointReceived}!com.tritondigital.sdksample.player.SbmPlayerActivity@{com.tritondigital.sdksample.player.SbmPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onCuePointReceived()}{onCuePointReceived()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Sbm\+Player\+Activity.\+on\+Cue\+Point\+Received (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}}]{sbm\+Player,  }\item[{Bundle}]{cue\+Point }\end{DoxyParamCaption})}



Implements \mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnCuePointReceivedListener_a5ede614d30bbfaa150399c5f5351372c}{com.\+tritondigital.\+player.\+Media\+Player.\+On\+Cue\+Point\+Received\+Listener}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a3fb5c5b267df3e6b5326c679611f3014}\label{classcom_1_1tritondigital_1_1sdksample_1_1player_1_1SbmPlayerActivity_a3fb5c5b267df3e6b5326c679611f3014} 
\index{com.tritondigital.sdksample.player.SbmPlayerActivity@{com.tritondigital.sdksample.player.SbmPlayerActivity}!onStateChanged@{onStateChanged}}
\index{onStateChanged@{onStateChanged}!com.tritondigital.sdksample.player.SbmPlayerActivity@{com.tritondigital.sdksample.player.SbmPlayerActivity}}
\doxysubsubsection{\texorpdfstring{onStateChanged()}{onStateChanged()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+player.\+Sbm\+Player\+Activity.\+on\+State\+Changed (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1MediaPlayer}{com.\+tritondigital.\+player.\+Media\+Player}}}]{sbm\+Player,  }\item[{int}]{state }\end{DoxyParamCaption})}



Implements \mbox{\hyperlink{interfacecom_1_1tritondigital_1_1player_1_1MediaPlayer_1_1OnStateChangedListener_a0cbd521fc287d2e1a9994a7ffda08adc}{com.\+tritondigital.\+player.\+Media\+Player.\+On\+State\+Changed\+Listener}}.



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