\doxysection{com.\+tritondigital.\+player.\+Stream\+Url\+Builder Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}


Helps create station stream URLs.  


\doxysubsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
enum {\bfseries Listener\+Id\+Type}
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a50c1905b5ceba8338b28d4f919d09f39}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a50c1905b5ceba8338b28d4f919d09f39} 
{\bfseries Stream\+Url\+Builder} (Context context)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a24cffb6fafa316180302befac4ce0fc1}{add\+Query\+Parameter}} (String key, String value)
\begin{DoxyCompactList}\small\item\em Adds a key/value pair to the URL query parameters. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_abc945b783c4c1abc2b3031103db0707e}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_abc945b783c4c1abc2b3031103db0707e} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} {\bfseries add\+Query\+Parameter} (String key, boolean value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a87b2d69e307eee707afec3d540ecaa88}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a87b2d69e307eee707afec3d540ecaa88} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} {\bfseries add\+Query\+Parameter} (String key, char value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_acdb311cce13762e31b0ac562dae72a32}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_acdb311cce13762e31b0ac562dae72a32} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} {\bfseries add\+Query\+Parameter} (String key, int value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a6db5b0fe134233167f2cfba9f91c45ba}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a6db5b0fe134233167f2cfba9f91c45ba} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} {\bfseries add\+Query\+Parameter} (String key, double value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a5556baeeffec0f5b714f696ef603a0f0}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a5556baeeffec0f5b714f696ef603a0f0} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} {\bfseries add\+Query\+Parameter} (String key, float value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a0d98187410728e4674f4782cca94739d}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a0d98187410728e4674f4782cca94739d} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} {\bfseries add\+Query\+Parameter} (String key, long value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a63807f900e74e0b46ad8ad00f153c0dd}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a63807f900e74e0b46ad8ad00f153c0dd} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} {\bfseries reset\+Query\+Parameters} ()
\begin{DoxyCompactList}\small\item\em Clears the the previously set query. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_ac96736e0fdbea38d0320fef788834cec}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_ac96736e0fdbea38d0320fef788834cec} 
Hash\+Map$<$ String, String $>$ {\bfseries get\+Query\+Parameters} ()
\begin{DoxyCompactList}\small\item\em Returns the query parameters. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a0befaea13e9c981a399f886f43619d1a}{enable\+Location\+Tracking}} (boolean enable)
\begin{DoxyCompactList}\small\item\em Enables the location tracking using the device\textquotesingle{}s location manager. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a6c21184f44a17f7c62c2f0e65a5a5328}{build}} ()
\begin{DoxyCompactList}\small\item\em Returns an URL from the previously set data. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a23bcaec72d3b12956c1a9f21167baacf}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a23bcaec72d3b12956c1a9f21167baacf} 
String {\bfseries get\+Host} ()
\begin{DoxyCompactList}\small\item\em Returns the player host. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a5fcbdde7179eeb543454541dc7e4ebed}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a5fcbdde7179eeb543454541dc7e4ebed} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} {\bfseries set\+Host} (String host)
\begin{DoxyCompactList}\small\item\em Sets server host with the mount. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a28d0bde66e692d8d1283e394d95b37d0}{LATITUDE}} = "{}lat"{}
\begin{DoxyCompactList}\small\item\em {\itshape float} -\/ Latitude (-\/90.\+0f to 90.\+0f) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_aa4cdc80301d96cba1ff4b61d6f9c8e50}{LONGITUDE}} = "{}long"{}
\begin{DoxyCompactList}\small\item\em {\itshape float} -\/ Longitude (-\/180.\+0f to 180.\+0f) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a61dfbdb3ddb0a6547d32b9f02121b4ad}{POSTAL\+\_\+\+CODE}} = "{}postalcode"{}
\begin{DoxyCompactList}\small\item\em {\itshape String} -\/ Postal/\+ZIP code \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_adb5e48ceeff0171d94d247908c527fde}{COUNTRY\+\_\+\+CODE}} = "{}country"{}
\begin{DoxyCompactList}\small\item\em {\itshape String} -\/ Country code (\href{http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\#Officially_assigned_code_elements}{\texttt{ ISO 3166-\/1 alpha-\/2}}) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a77bf02b6e64b4a1ba93ab53736386170}{AGE}} = "{}age"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Age (1 to 125) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a47a63393807449bce37bd364a2100ded}{DATE\+\_\+\+OF\+\_\+\+BIRTH}} = "{}dob"{}
\begin{DoxyCompactList}\small\item\em {\itshape String} -\/ Date of birth formatted as "{}\+YYYY-\/\+MM-\/\+DD"{} \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_aceffb1bb91e8eda8d394dec5489c29f5}{YEAR\+\_\+\+OF\+\_\+\+BIRTH}} = "{}yob"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Year of birth (1900 to 2005) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_af363ca0f12215bd4d2040f503a580d73}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_af363ca0f12215bd4d2040f503a580d73} 
static final String {\bfseries GENDER} = "{}gender"{}
\begin{DoxyCompactList}\small\item\em {\itshape char} -\/ Gender (\textquotesingle{}m\textquotesingle{} or \textquotesingle{}f\textquotesingle{}) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a1c0306621ca509a953811e36f1d17550}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a1c0306621ca509a953811e36f1d17550} 
static final char {\bfseries GENDER\+\_\+\+VALUE\+\_\+\+FEMALE} = \textquotesingle{}f\textquotesingle{}
\begin{DoxyCompactList}\small\item\em Possible Stream\+Url\+Builder.\+GENDER value. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a512a7f81098776e32cd85674cdac584d}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a512a7f81098776e32cd85674cdac584d} 
static final char {\bfseries GENDER\+\_\+\+VALUE\+\_\+\+MALE} = \textquotesingle{}m\textquotesingle{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_ac188012ee2034302bbf62b99bf73d31c}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_ac188012ee2034302bbf62b99bf73d31c} 
static final char {\bfseries GENDER\+\_\+\+VALUE\+\_\+\+OTHER} = \textquotesingle{}o\textquotesingle{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a300eb6cc7f2b582b9ee881503c79b62b}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a300eb6cc7f2b582b9ee881503c79b62b} 
static final String {\bfseries DIST} = "{}dist"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a9c58794bea9c786474a6cbe92ad88489}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a9c58794bea9c786474a6cbe92ad88489} 
static final String {\bfseries DIST\+\_\+\+TIMESHIFT} = "{}dist-\/timeshift"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_aa0041da6374415e229bad878ee1f4ef0}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_aa0041da6374415e229bad878ee1f4ef0} 
static final String {\bfseries DIST\+\_\+\+BACKUP} = "{}dist-\/backup"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a098437f815fa056c3e8a451fde501163}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a098437f815fa056c3e8a451fde501163} 
static final String {\bfseries LISTENER\+\_\+\+ID\+\_\+\+VALUE} = "{}listener-\/id-\/value"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a739bfd84b1553f9d1bec24bc07e988b4}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a739bfd84b1553f9d1bec24bc07e988b4} 
static final String {\bfseries LISTENER\+\_\+\+ID\+\_\+\+TYPE} = "{}listener-\/id-\/type"{}
\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a2ef146ed46eeb4ec1f3eefa7ced21e51}{CUSTOM\+\_\+\+SEGMENT\+\_\+\+ID}} = "{}csegid"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Custom segment ID (1 to 1000000) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a8eb4578e6a5056cffdbe399c8708883e}{BANNERS}} = "{}banners"{}
\begin{DoxyCompactList}\small\item\em {\itshape String (comma-\/separated list)} -\/ Banner capabilities \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a9fe05a76dc114a703a9e0cadacf48cd2}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a9fe05a76dc114a703a9e0cadacf48cd2} 
static final String {\bfseries AUTH\+\_\+\+TOKEN} = "{}tdtok"{}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Helps create station stream URLs. 

This class helps you create a stream URL with tracking parameters. The user tracking ID and location is automatically added when calling build(). This class can also be used to create the stream parameters for Triton\+Player.

A basic validation is done when adding a query parameter. 

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a24cffb6fafa316180302befac4ce0fc1}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a24cffb6fafa316180302befac4ce0fc1} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!addQueryParameter@{addQueryParameter}}
\index{addQueryParameter@{addQueryParameter}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{addQueryParameter()}{addQueryParameter()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+add\+Query\+Parameter (\begin{DoxyParamCaption}\item[{String}]{key,  }\item[{String}]{value }\end{DoxyParamCaption})}



Adds a key/value pair to the URL query parameters. 

The key and value will be encoded. \Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a6c21184f44a17f7c62c2f0e65a5a5328}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a6c21184f44a17f7c62c2f0e65a5a5328} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!build@{build}}
\index{build@{build}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{build()}{build()}}
{\footnotesize\ttfamily String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+build (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an URL from the previously set data. 

This method also refreshes the user tracking id and the location. \Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a0befaea13e9c981a399f886f43619d1a}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a0befaea13e9c981a399f886f43619d1a} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!enableLocationTracking@{enableLocationTracking}}
\index{enableLocationTracking@{enableLocationTracking}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{enableLocationTracking()}{enableLocationTracking()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder}{Stream\+Url\+Builder}} com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+enable\+Location\+Tracking (\begin{DoxyParamCaption}\item[{boolean}]{enable }\end{DoxyParamCaption})}



Enables the location tracking using the device\textquotesingle{}s location manager. 

Enabling this feature will overwrite the Stream\+Url\+Builder.\+LATITUDE and Stream\+Url\+Builder.\+LONGITUDE query parameters.

See \href{http://developer.android.com/reference/android/location/LocationManager.html}{\texttt{ Android location manager}}.

\begin{DoxyParagraph}{Android\+Manifest.xml Permissions}

\begin{DoxyCode}{0}
\DoxyCodeLine{<\textcolor{keywordtype}{uses-\/permission}\ \textcolor{keyword}{android:name}=\textcolor{stringliteral}{"{}android.permission.ACCESS\_COARSE\_LOCATION"{}}\ />}

\end{DoxyCode}
 
\end{DoxyParagraph}


\doxysubsection{Member Data Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a77bf02b6e64b4a1ba93ab53736386170}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a77bf02b6e64b4a1ba93ab53736386170} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!AGE@{AGE}}
\index{AGE@{AGE}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{AGE}{AGE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+AGE = "{}age"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape int} -\/ Age (1 to 125) 

Clients/players must specify only one of Stream\+Url\+Builder.\+AGE, Stream\+Url\+Builder.\+DATE\+\_\+\+OF\+\_\+\+BIRTH or Stream\+Url\+Builder.\+YEAR\+\_\+\+OF\+\_\+\+BIRTH. \Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a8eb4578e6a5056cffdbe399c8708883e}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a8eb4578e6a5056cffdbe399c8708883e} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!BANNERS@{BANNERS}}
\index{BANNERS@{BANNERS}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{BANNERS}{BANNERS}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+BANNERS = "{}banners"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String (comma-\/separated list)} -\/ Banner capabilities 

Players can provide details on their level of support for banners, such as banner sizes and formats.

The ordering of the capability formats is not important.

\begin{DoxyNote}{Note}
Before attempting to use player capability targeting, please contact the Triton Digital Support Team to enable Player Capability Targeting for your broadcaster. Currently, Player Capability Targeting only works with Tap advertising.
\end{DoxyNote}
\begin{DoxyParagraph}{Supported Formats}

\end{DoxyParagraph}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{2}{|X[-1]}|}
\hline
\cellcolor{\tableheadbgcolor}\textbf{ Capability}&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-2}
\endfirsthead
\hline
\endfoot
\hline
\cellcolor{\tableheadbgcolor}\textbf{ Capability}&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-2}
\endhead
970x250 &IAB Billboard (970x250) \\\cline{1-2}
120x60 &IAB Button 2 (120x60) \\\cline{1-2}
300x600 &IAB Half Page/\+Filmstrip (300x600) \\\cline{1-2}
728x90 &IAB Leaderboard (728x90) \\\cline{1-2}
970x100 &IAB Leaderboard (970x100) \\\cline{1-2}
300x250 &IAB Medium Rectangle (300x250) \\\cline{1-2}
88x31 &IAB Microbar (88x31) \\\cline{1-2}
300x1050 &IAB Portrait (300x1050) \\\cline{1-2}
970x90 &IAB Pushdown (970x90) \\\cline{1-2}
180x150 &IAB Rectangle (180x150) \\\cline{1-2}
320x480 &IAB Smartphone Portrait (320x480) \\\cline{1-2}
300x50 &IAB Smartphone Static Banner (300x50) \\\cline{1-2}
320x50 &IAB Smartphone Static Wide Banner (320x50) \\\cline{1-2}
300x300 &IAB Square (300x300) \\\cline{1-2}
970x66 &IAB Super Leaderboard (970x66) \\\cline{1-2}
160x600 &IAB Wide Skyscraper (160x600) \\\cline{1-2}
Client-\/defined (w x h)&Custom banner size \\\cline{1-2}
\end{longtabu}
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_adb5e48ceeff0171d94d247908c527fde}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_adb5e48ceeff0171d94d247908c527fde} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!COUNTRY\_CODE@{COUNTRY\_CODE}}
\index{COUNTRY\_CODE@{COUNTRY\_CODE}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{COUNTRY\_CODE}{COUNTRY\_CODE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+COUNTRY\+\_\+\+CODE = "{}country"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String} -\/ Country code (\href{http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\#Officially_assigned_code_elements}{\texttt{ ISO 3166-\/1 alpha-\/2}}) 

Not required individually. If using, however, we recommend that you specify Stream\+Url\+Builder.\+POSTAL\+\_\+\+CODE. \Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a2ef146ed46eeb4ec1f3eefa7ced21e51}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a2ef146ed46eeb4ec1f3eefa7ced21e51} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!CUSTOM\_SEGMENT\_ID@{CUSTOM\_SEGMENT\_ID}}
\index{CUSTOM\_SEGMENT\_ID@{CUSTOM\_SEGMENT\_ID}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{CUSTOM\_SEGMENT\_ID}{CUSTOM\_SEGMENT\_ID}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+CUSTOM\+\_\+\+SEGMENT\+\_\+\+ID = "{}csegid"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape int} -\/ Custom segment ID (1 to 1000000) 

Broadcasters that want to differentiate their listeners into custom broadcaster-\/specific segments may use the Custom Segment Targeting capability of Tap.

\begin{DoxyNote}{Note}
Before use by players, please contact the Triton Digital Support Team to enable Custom Segment ID Targeting for your broadcaster. Currently, Custom Segment ID Targeting only works with Tap advertising. 
\end{DoxyNote}
\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a47a63393807449bce37bd364a2100ded}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a47a63393807449bce37bd364a2100ded} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!DATE\_OF\_BIRTH@{DATE\_OF\_BIRTH}}
\index{DATE\_OF\_BIRTH@{DATE\_OF\_BIRTH}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{DATE\_OF\_BIRTH}{DATE\_OF\_BIRTH}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+DATE\+\_\+\+OF\+\_\+\+BIRTH = "{}dob"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String} -\/ Date of birth formatted as "{}\+YYYY-\/\+MM-\/\+DD"{} 

\Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a28d0bde66e692d8d1283e394d95b37d0}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a28d0bde66e692d8d1283e394d95b37d0} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!LATITUDE@{LATITUDE}}
\index{LATITUDE@{LATITUDE}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{LATITUDE}{LATITUDE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+LATITUDE = "{}lat"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape float} -\/ Latitude (-\/90.\+0f to 90.\+0f) 

Not required individually. If using, you must specify Stream\+Url\+Builder.\+LONGITUDE. \Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_aa4cdc80301d96cba1ff4b61d6f9c8e50}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_aa4cdc80301d96cba1ff4b61d6f9c8e50} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!LONGITUDE@{LONGITUDE}}
\index{LONGITUDE@{LONGITUDE}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{LONGITUDE}{LONGITUDE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+LONGITUDE = "{}long"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape float} -\/ Longitude (-\/180.\+0f to 180.\+0f) 

Not required individually. If using, you must specify Stream\+Url\+Builder.\+LATITUDE. \Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a61dfbdb3ddb0a6547d32b9f02121b4ad}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_a61dfbdb3ddb0a6547d32b9f02121b4ad} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!POSTAL\_CODE@{POSTAL\_CODE}}
\index{POSTAL\_CODE@{POSTAL\_CODE}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{POSTAL\_CODE}{POSTAL\_CODE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+POSTAL\+\_\+\+CODE = "{}postalcode"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String} -\/ Postal/\+ZIP code 

Valid postal or ZIP code, without spaces. E.\+g., 89040 or H3\+G1\+R8.

Not required individually. If using, however, we recommend that you specify Stream\+Url\+Builder.\+COUNTRY\+\_\+\+CODE. \Hypertarget{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_aceffb1bb91e8eda8d394dec5489c29f5}\label{classcom_1_1tritondigital_1_1player_1_1StreamUrlBuilder_aceffb1bb91e8eda8d394dec5489c29f5} 
\index{com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}!YEAR\_OF\_BIRTH@{YEAR\_OF\_BIRTH}}
\index{YEAR\_OF\_BIRTH@{YEAR\_OF\_BIRTH}!com.tritondigital.player.StreamUrlBuilder@{com.tritondigital.player.StreamUrlBuilder}}
\doxysubsubsection{\texorpdfstring{YEAR\_OF\_BIRTH}{YEAR\_OF\_BIRTH}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+player.\+Stream\+Url\+Builder.\+YEAR\+\_\+\+OF\+\_\+\+BIRTH = "{}yob"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape int} -\/ Year of birth (1900 to 2005) 



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