FMediaIOCorePlayerBase::Close

Close a previously opened media source.

Windows
MacOS
Linux

Override Hierarchy

IMediaPlayer::Close()

FMediaIOCorePlayerBase::Close()

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCorePlayerBase.h

Include

#include "MediaIOCorePlayerBase.h"

Source

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Player/MediaIOCorePlayerBase.cpp

Syntax

virtual void Close()

Remarks

Close a previously opened media source.

Call this method to free up all resources associated with an opened media source. If no media is open, this function has no effect.

The media may not necessarily be closed after this function succeeds, because closing may happen asynchronously. Subscribe to the MediaClosed event to detect when the media finished closing. This events is only triggered if Close returns true.

See Also

IsReady

Open

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss