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.SbmPlayerActivity Class Reference

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

Inheritance diagram for com.tritondigital.sdksample.player.SbmPlayerActivity:
com.tritondigital.player.MediaPlayer.OnCuePointReceivedListener com.tritondigital.player.MediaPlayer.OnStateChangedListener

Public Member Functions

void onClick (View v)
 
boolean onError (MediaPlayer mp, int what, int extra)
 
void onPrepared (MediaPlayer mp)
 
void onCuePointReceived (com.tritondigital.player.MediaPlayer sbmPlayer, Bundle cuePoint)
 
void onStateChanged (com.tritondigital.player.MediaPlayer sbmPlayer, int state)
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 
void onResume ()
 
void onPause ()
 
void onDestroy ()
 

Detailed Description

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

IMPORTANT:

  • NOT RECOMMENDED. You should use TritonPlayer instead
  • No support will be provided by Triton Mobile Team when using a custom player.
  • The SbmPlayer must be recreated on each play request.

Member Function Documentation

◆ onCuePointReceived()

void com.tritondigital.sdksample.player.SbmPlayerActivity.onCuePointReceived ( com.tritondigital.player.MediaPlayer  sbmPlayer,
Bundle  cuePoint 
)

◆ onStateChanged()

void com.tritondigital.sdksample.player.SbmPlayerActivity.onStateChanged ( com.tritondigital.player.MediaPlayer  sbmPlayer,
int  state 
)

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