Triton Mobile SDK for Android 3.5.1
This is a custom android player made by Triton Digital
Loading...
Searching...
No Matches
com.tritondigital.sdksample.player.StationPlayerActivity Class Reference

Shows how to play a station using Triton Player. More...

Inheritance diagram for com.tritondigital.sdksample.player.StationPlayerActivity:
com.tritondigital.sdksample.player.TritonPlayerActivity

Public Member Functions

void onClick (View v)
 
void onInfo (MediaPlayer player, int info, int extra)
 
void onProgressChanged (SeekBar seekBar, int progress, boolean fromUser)
 
void onStartTrackingTouch (SeekBar seekBar)
 
void onStopTrackingTouch (SeekBar seekBar)
 
void onCloudStreamInfoReceivedListener (MediaPlayer player, String cloudStreamInfo)
 
- Public Member Functions inherited from com.tritondigital.sdksample.player.TritonPlayerActivity
boolean onCreateOptionsMenu (Menu menu)
 
void onCuePointReceived (MediaPlayer player, Bundle cuePoint)
 
void onAnalyticsReceivedListener (MediaPlayer player, Format format)
 
void onStateChanged (MediaPlayer player, int state)
 
void onMetaDataReceived (MediaPlayer player, Bundle metadata)
 
String getmProgramUniqueId ()
 
void setmProgramUniqueId (String mProgramUniqueId)
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 
int getLayout ()
 
void reset ()
 
void createPlayer ()
 
void startPlayer ()
 
Bundle createPlayerSettings ()
 
void setInputEnabled (boolean enabled)
 
- Protected Member Functions inherited from com.tritondigital.sdksample.player.TritonPlayerActivity
void onPostCreate (Bundle savedInstanceState)
 
void onResume ()
 
void onPause ()
 
void onDestroy ()
 
void seek (int seconds)
 
void seekToLive ()
 
void startProgram ()
 
void stopPlayer ()
 
void releasePlayer ()
 

Additional Inherited Members

- Protected Attributes inherited from com.tritondigital.sdksample.player.TritonPlayerActivity
TextView mPlayerLogView
 
TritonPlayer mTritonPlayer
 
StringBuilder mDateFormatBuffer = new StringBuilder()
 
- Static Protected Attributes inherited from com.tritondigital.sdksample.player.TritonPlayerActivity
static final String IMAGE_URI = "http://mobileapps.streamtheworld.com/android/tritondigital_tritonradio/icon_512.png"
 

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.

Member Function Documentation

◆ createPlayer()

void com.tritondigital.sdksample.player.StationPlayerActivity.createPlayer ( )
protected

◆ createPlayerSettings()

Bundle com.tritondigital.sdksample.player.StationPlayerActivity.createPlayerSettings ( )
protected

◆ getLayout()

int com.tritondigital.sdksample.player.StationPlayerActivity.getLayout ( )
protected

◆ onClick()

void com.tritondigital.sdksample.player.StationPlayerActivity.onClick ( View  v)

◆ onCloudStreamInfoReceivedListener()

void com.tritondigital.sdksample.player.StationPlayerActivity.onCloudStreamInfoReceivedListener ( MediaPlayer  player,
String  cloudStreamInfo 
)

◆ onCreate()

void com.tritondigital.sdksample.player.StationPlayerActivity.onCreate ( Bundle  savedInstanceState)
protected

◆ onInfo()

void com.tritondigital.sdksample.player.StationPlayerActivity.onInfo ( MediaPlayer  player,
int  info,
int  extra 
)

◆ reset()

void com.tritondigital.sdksample.player.StationPlayerActivity.reset ( )
protected

◆ setInputEnabled()

void com.tritondigital.sdksample.player.StationPlayerActivity.setInputEnabled ( boolean  enabled)
protected

◆ startPlayer()

void com.tritondigital.sdksample.player.StationPlayerActivity.startPlayer ( )
protected

The documentation for this class was generated from the following file: