initializeVODSession
abstract fun initializeVODSession(initializationCompletedHandler: (result: Result<SessionDetails, Error>) -> Unit)
Handles Yospace VOD Session initialization logic.
Parameters
initializationCompletedHandler
the handler of the VOD session initialization Result. If the Result.Success is returned then the value contains a playback URL for the Yospace VOD Session, otherwise Result.Failure with Error is returned.
The playback URL for the VOD Yospace session is created when the session is successfully initialized hence the value can only be returned through initializationCompletedHandler call in asynchronous way.