PlayerState
property, read-only
Delphi
property PlayerState: TPlayerState read GetPlayerState;
C++Builder
__property TPlayerState PlayerState = {read=GetPlayerState, nodefault};
C#
public TPlayerState PlayerState { get; }
VB.NET
Public ReadOnly Property PlayerState As TPlayerState
C++/Qt
TPlayerState GetPlayerState ();
Returns the current player state.
The possible values are:
-
ps_Closed
-
ps_Stopped
-
ps_Paused
-
ps_Playing
-
ps_PlayingBackward
-
ps_FastForwarding
-
ps_FastRewinding
-
ps_Downloading
-
ps_DownloadCompleted
-
ps_DownloadCancelled
-
ps_Opened
Each value is greater than the previous one, so a test such as (PlayerState >= ps_Playing) and (PlayerState <= ps_FastRewinding) checks e.g. whether the clip is playing in any direction.