\doxysection{com.\+tritondigital.\+sdksample.\+ads.\+Custom\+Ads\+Activity Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity}{}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity}\index{com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}}


This sample shows a custom UI implementation.  


Inheritance diagram for com.\+tritondigital.\+sdksample.\+ads.\+Custom\+Ads\+Activity\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.108911cm]{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_ad05dae7e5162aac875568a6c2a769cec}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_ad05dae7e5162aac875568a6c2a769cec} 
void {\bfseries on\+Ad\+Loaded} (Ad\+Loader ad\+Loader, Bundle ad)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a79d1a1baf2ba87df518738857f246b12}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a79d1a1baf2ba87df518738857f246b12} 
void {\bfseries on\+Ad\+Loading\+Error} (Ad\+Loader ad\+Loader, int error\+Code)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_aa0eb3ad7751c09c7c5b5dff3a7b90cd7}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_aa0eb3ad7751c09c7c5b5dff3a7b90cd7} 
void {\bfseries on\+Completion} (Media\+Player mp)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_ab4881b664c482302e3687f73bdc1f8ae}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_ab4881b664c482302e3687f73bdc1f8ae} 
boolean {\bfseries on\+Error} (Media\+Player mp, int what, int extra)
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1AdsActivity}{com.\+tritondigital.\+sdksample.\+ads.\+Ads\+Activity}}}
\begin{DoxyCompactItemize}
\item 
void {\bfseries on\+Click} (View v)
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_aadf6b13e1fa12e35a1a0589efe9548d5}{on\+Create}} (Bundle saved\+Instance\+State)
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_ac37dbf474aa1caff82e6852c85e79991}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_ac37dbf474aa1caff82e6852c85e79991} 
void {\bfseries on\+Resume} ()
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_af17a19337556764cbaf60cc556276682}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_af17a19337556764cbaf60cc556276682} 
void {\bfseries on\+Pause} ()
\item 
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_ac43936a549ad4941aac6f1f34c25bfaf}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_ac43936a549ad4941aac6f1f34c25bfaf} 
void {\bfseries on\+Destroy} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a9c36ed0748a7f39c72a675b5d08429b2}{reset}} ()
\item 
int \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a1cc3fb9b34f85d16f1cc78a7108002ff}{get\+Layout}} ()
\item 
void \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a71da0d1f676a024224c677458521d14f}{load\+Ad\+Request}} (Ad\+Request\+Builder ad\+Request\+Builder)
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions inherited from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1AdsActivity}{com.\+tritondigital.\+sdksample.\+ads.\+Ads\+Activity}}}
\begin{DoxyCompactItemize}
\item 
void {\bfseries set\+Status} (String status)
\item 
void {\bfseries set\+Ad\+Duration} (String duration)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This sample shows a custom UI implementation. 


\begin{DoxyItemize}
\item Ads must be loaded at each play request so the server can update the tracking URLs.
\item No support will be given on custom ad playback.
\item Make sure to call the tracking methods from Ad\+Util at the right place or the ads might not be paid. 
\end{DoxyItemize}

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a1cc3fb9b34f85d16f1cc78a7108002ff}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a1cc3fb9b34f85d16f1cc78a7108002ff} 
\index{com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}!getLayout@{getLayout}}
\index{getLayout@{getLayout}!com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}}
\doxysubsubsection{\texorpdfstring{getLayout()}{getLayout()}}
{\footnotesize\ttfamily int com.\+tritondigital.\+sdksample.\+ads.\+Custom\+Ads\+Activity.\+get\+Layout (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1AdsActivity}{com.\+tritondigital.\+sdksample.\+ads.\+Ads\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a71da0d1f676a024224c677458521d14f}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a71da0d1f676a024224c677458521d14f} 
\index{com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}!loadAdRequest@{loadAdRequest}}
\index{loadAdRequest@{loadAdRequest}!com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}}
\doxysubsubsection{\texorpdfstring{loadAdRequest()}{loadAdRequest()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+ads.\+Custom\+Ads\+Activity.\+load\+Ad\+Request (\begin{DoxyParamCaption}\item[{Ad\+Request\+Builder}]{ad\+Request\+Builder }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1AdsActivity}{com.\+tritondigital.\+sdksample.\+ads.\+Ads\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_aadf6b13e1fa12e35a1a0589efe9548d5}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_aadf6b13e1fa12e35a1a0589efe9548d5} 
\index{com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}!onCreate@{onCreate}}
\index{onCreate@{onCreate}!com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}}
\doxysubsubsection{\texorpdfstring{onCreate()}{onCreate()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+ads.\+Custom\+Ads\+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_1ads_1_1AdsActivity}{com.\+tritondigital.\+sdksample.\+ads.\+Ads\+Activity}}.

\Hypertarget{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a9c36ed0748a7f39c72a675b5d08429b2}\label{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1CustomAdsActivity_a9c36ed0748a7f39c72a675b5d08429b2} 
\index{com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}!reset@{reset}}
\index{reset@{reset}!com.tritondigital.sdksample.ads.CustomAdsActivity@{com.tritondigital.sdksample.ads.CustomAdsActivity}}
\doxysubsubsection{\texorpdfstring{reset()}{reset()}}
{\footnotesize\ttfamily void com.\+tritondigital.\+sdksample.\+ads.\+Custom\+Ads\+Activity.\+reset (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Reimplemented from \mbox{\hyperlink{classcom_1_1tritondigital_1_1sdksample_1_1ads_1_1AdsActivity}{com.\+tritondigital.\+sdksample.\+ads.\+Ads\+Activity}}.



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