IMediaPlayer::Close

Override Hierarchy

IMediaPlayer::Close()

FMediaIOCorePlayerBase::Close()

Syntax

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

References

Module

Media

Header

Runtime/Media/Public/IMediaPlayer.h