-
- All Implemented Interfaces:
public interface PlayerHost.InitializationListener
Interface for callbacks related to initialization of a VdoPlayer.
-
-
Method Summary
Modifier and Type Method Description abstract void
onInitializationSuccess(PlayerHost playerHost, VdoPlayer player, boolean wasRestored)
Called when the PlayerHost is initialized successfully. abstract void
onInitializationFailure(PlayerHost playerHost, ErrorDescription errorDescription)
Called when the VdoPlayer initialization fails. -
-
Method Detail
-
onInitializationSuccess
abstract void onInitializationSuccess(PlayerHost playerHost, VdoPlayer player, boolean wasRestored)
Called when the PlayerHost is initialized successfully.
- Parameters:
playerHost
- the initialized PlayerHostplayer
- a VdoPlayer hosted by the playerHost which can be used to load media and control playbackwasRestored
- if the playerHost was restored from a previous state
-
onInitializationFailure
abstract void onInitializationFailure(PlayerHost playerHost, ErrorDescription errorDescription)
Called when the VdoPlayer initialization fails.
- Parameters:
playerHost
- PlayerHost for which initialization failederrorDescription
- ErrorDescription object describing the initialization failure
-
-
-
-