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
Each value is greater than the previous one, so it is possible to test e.g. if the clip is playing in any direction by testing PlayerState >= ps_Playing.