Allows direct interaction with the Steam Music player.
See
features/music_player for more information.
Member Functions
Member functions for
ISteamMusicRemote
are called through the global accessor function
SteamMusicRemote()
.
BActivationSuccess
bool BActivationSuccess( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Επιστρέφει: bool
BIsCurrentMusicRemote
bool BIsCurrentMusicRemote();
Επιστρέφει: bool
CurrentEntryDidChange
bool CurrentEntryDidChange();
Επιστρέφει: bool
CurrentEntryIsAvailable
bool CurrentEntryIsAvailable( bool bAvailable );
Όνομα | Τύπος | Περιγραφή |
bAvailable | bool | |
Επιστρέφει: bool
CurrentEntryWillChange
bool CurrentEntryWillChange();
Current Entry
Επιστρέφει: bool
DeregisterSteamMusicRemote
bool DeregisterSteamMusicRemote();
Επιστρέφει: bool
EnableLooped
bool EnableLooped( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Επιστρέφει: bool
EnablePlaylists
bool EnablePlaylists( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Επιστρέφει: bool
EnablePlayNext
bool EnablePlayNext( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Επιστρέφει: bool
EnablePlayPrevious
bool EnablePlayPrevious( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Abilities for the user interface
Επιστρέφει: bool
EnableQueue
bool EnableQueue( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Επιστρέφει: bool
EnableShuffled
bool EnableShuffled( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Επιστρέφει: bool
PlaylistDidChange
bool PlaylistDidChange();
Επιστρέφει: bool
PlaylistWillChange
bool PlaylistWillChange();
Λίστα αναπαραγωγής
Επιστρέφει: bool
QueueDidChange
bool QueueDidChange();
Επιστρέφει: bool
QueueWillChange
bool QueueWillChange();
Queue
Επιστρέφει: bool
RegisterSteamMusicRemote
bool RegisterSteamMusicRemote( const char *pchName );
Όνομα | Τύπος | Περιγραφή |
pchName | const char * | |
Service Definition
Επιστρέφει: bool
ResetPlaylistEntries
bool ResetPlaylistEntries();
Επιστρέφει: bool
ResetQueueEntries
bool ResetQueueEntries();
Επιστρέφει: bool
SetCurrentPlaylistEntry
bool SetCurrentPlaylistEntry( int nID );
Όνομα | Τύπος | Περιγραφή |
nID | int | |
Επιστρέφει: bool
SetCurrentQueueEntry
bool SetCurrentQueueEntry( int nID );
Όνομα | Τύπος | Περιγραφή |
nID | int | |
Επιστρέφει: bool
SetDisplayName
bool SetDisplayName( const char *pchDisplayName );
Όνομα | Τύπος | Περιγραφή |
pchDisplayName | const char * | |
Επιστρέφει: bool
SetPlaylistEntry
bool SetPlaylistEntry( int nID, int nPosition, const char *pchEntryText );
Όνομα | Τύπος | Περιγραφή |
nID | int | |
nPosition | int | |
pchEntryText | const char * | |
Επιστρέφει: bool
SetPNGIcon_64x64
bool SetPNGIcon_64x64( void *pvBuffer, uint32 cbBufferLength );
Όνομα | Τύπος | Περιγραφή |
pvBuffer | void * | |
cbBufferLength | uint32 | |
Επιστρέφει: bool
SetQueueEntry
bool SetQueueEntry( int nID, int nPosition, const char *pchEntryText );
Όνομα | Τύπος | Περιγραφή |
nID | int | |
nPosition | int | |
pchEntryText | const char * | |
Επιστρέφει: bool
UpdateCurrentEntryCoverArt
bool UpdateCurrentEntryCoverArt( void *pvBuffer, uint32 cbBufferLength );
Όνομα | Τύπος | Περιγραφή |
pvBuffer | void * | |
cbBufferLength | uint32 | |
Επιστρέφει: bool
UpdateCurrentEntryElapsedSeconds
bool UpdateCurrentEntryElapsedSeconds( int nValue );
Όνομα | Τύπος | Περιγραφή |
nValue | int | |
Επιστρέφει: bool
UpdateCurrentEntryText
bool UpdateCurrentEntryText( const char *pchText );
Όνομα | Τύπος | Περιγραφή |
pchText | const char * | |
Επιστρέφει: bool
UpdateLooped
bool UpdateLooped( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Επιστρέφει: bool
UpdatePlaybackStatus
bool UpdatePlaybackStatus( AudioPlayback_Status nStatus );
Κατάσταση
Επιστρέφει: bool
UpdateShuffled
bool UpdateShuffled( bool bValue );
Όνομα | Τύπος | Περιγραφή |
bValue | bool | |
Επιστρέφει: bool
UpdateVolume
bool UpdateVolume( float flValue );
Όνομα | Τύπος | Περιγραφή |
flValue | float | |
Επιστρέφει: bool
Callbacks
These are callbacks which can be fired by calling
SteamAPI_RunCallbacks. Many of these will be fired directly in response to the member functions of
ISteamMusicRemote
.
MusicPlayerRemoteToFront_t
This callback has no fields.
MusicPlayerRemoteWillActivate_t
This callback has no fields.
MusicPlayerRemoteWillDeactivate_t
This callback has no fields.
MusicPlayerSelectsPlaylistEntry_t
Όνομα | Τύπος | Περιγραφή |
nID | int | |
MusicPlayerSelectsQueueEntry_t
Όνομα | Τύπος | Περιγραφή |
nID | int | |
MusicPlayerWantsLooped_t
Όνομα | Τύπος | Περιγραφή |
m_bLooped | bool | |
MusicPlayerWantsPause_t
This callback has no fields.
MusicPlayerWantsPlayingRepeatStatus_t
Όνομα | Τύπος | Περιγραφή |
m_nPlayingRepeatStatus | int | |
MusicPlayerWantsPlayNext_t
This callback has no fields.
MusicPlayerWantsPlayPrevious_t
This callback has no fields.
MusicPlayerWantsPlay_t
This callback has no fields.
MusicPlayerWantsShuffled_t
Όνομα | Τύπος | Περιγραφή |
m_bShuffled | bool | |
MusicPlayerWantsVolume_t
Όνομα | Τύπος | Περιγραφή |
m_flNewVolume | float | |
MusicPlayerWillQuit_t
This callback has no fields.
Constants
These are constants which are defined for use with ISteamMusicRemote.
Όνομα | Τύπος | Τιμή | Περιγραφή |
k_SteamMusicNameMaxLength | int | 255 | |
k_SteamMusicPNGMaxLength | int | 65535 | |
STEAMMUSICREMOTE_INTERFACE_VERSION | const char * | "STEAMMUSICREMOTE_INTERFACE_VERSION001" | |