Triton Mobile SDK for Android 3.5.1 This is a custom android player made by Triton Digital

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
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:

## 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
| ) |  |

Implements com.tritondigital.player.MediaPlayer.OnCuePointReceivedListener.

## ◆ onStateChanged()

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

Implements com.tritondigital.player.MediaPlayer.OnStateChangedListener.

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

- released_modules/src/main/java/com/tritondigital/sdksample/player/SbmPlayerActivity.java