You.i Engine
CYIDefaultVideoPlayerFactory Class Reference

Detailed Description

Constructs a default concrete CYIAbstractVideoPlayer for this platform.

CYIDefaultVideoPlayerFactory instantiates a default concrete player implementation for the platform on which Create() is invoked.

#include <player/YiDefaultVideoPlayerFactory.h>

Static Public Member Functions

static std::unique_ptr< CYIAbstractVideoPlayerCreate ()
 

Member Function Documentation

◆ Create()

static std::unique_ptr<CYIAbstractVideoPlayer> CYIDefaultVideoPlayerFactory::Create ( )
static

Creates the default concrete player type for the current platform. If the user has implemented a custom concrete player they must instantiate it themselves and not use this method.

The player must be initialized by calling CYIAbstractVideoPlayer::Init before using any other methods on it.


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