UMediaPlayer::CanPause

Check whether media playback can be paused right now.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h

Include

#include "MediaPlayer.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp

Syntax

bool CanPause() const

Remarks

Check whether media playback can be paused right now.

Playback can be paused if the media supports pausing and if it is currently playing.

Returns

true if pausing playback can be paused, false otherwise.

See Also

CanPlay

Pause

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