getPlayerState()

Get the current player state.

Synopsis:

#include <qplayer/qplayer.h>
 
void getPlayerState( PlayerStateCommand *command );

Arguments:

command
A pointer to a PlayerStateCommand object, which will hold information on the player state.

Description:

Get the current player state. The library fills in the PlayerStateCommand object referenced in command with information describing the player's state. When your client receives the complete signal, it can call the result() function on this object to retrieve that information.