Module |
|
Header |
/Engine/Source/Runtime/Media/Public/IMediaPlayerFactory.h |
Include |
#include "IMediaPlayerFactory.h" |
class IMediaPlayerFactory
Interface for media player factories.
Media player factories are used to create instances of media player implementations. Most media players will be implemented inside plug-ins, which will register their factories on startup. The Media module will use the CanPlayUrl() method on this interface to determine which media player to instantiate for a given media source.
Name | Description | |
---|---|---|
|
~IMediaPlayerFactory() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
CanPlayUrl ( |
Whether the player can play the specified source URL. |
|
|
CanPlayUrl |
Whether the player can play the specified source URL. |
|
|
TSharedPtr< ... |
CreatePlayer ( |
Creates a media player. |
|
GetDisplayName() |
Get the human readable name of the player. |
|
|
GetPlayerName() |
Get the unique name of the media player. |
|
|
GetPlayerPluginGUID() |
Get the GUID for this player plugin. |
|
|
const TArray... |
GetSupportedPlatforms() |
Get the names of platforms that the media player supports. |
|
SupportsFeature ( |
Check whether the media player supports the specified feature. |
|
|
SupportsPlatform ( |
Whether the player works on the given platform. |