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 );
Nama | Type | Description |
bValue | bool | |
Hasil: bool
BIsCurrentMusicRemote
bool BIsCurrentMusicRemote();
Hasil: bool
CurrentEntryDidChange
bool CurrentEntryDidChange();
Hasil: bool
CurrentEntryIsAvailable
bool CurrentEntryIsAvailable( bool bAvailable );
Nama | Type | Description |
bAvailable | bool | |
Hasil: bool
CurrentEntryWillChange
bool CurrentEntryWillChange();
Current Entry
Hasil: bool
DeregisterSteamMusicRemote
bool DeregisterSteamMusicRemote();
Hasil: bool
EnableLooped
bool EnableLooped( bool bValue );
Nama | Type | Description |
bValue | bool | |
Hasil: bool
EnablePlaylists
bool EnablePlaylists( bool bValue );
Nama | Type | Description |
bValue | bool | |
Hasil: bool
EnablePlayNext
bool EnablePlayNext( bool bValue );
Nama | Type | Description |
bValue | bool | |
Hasil: bool
EnablePlayPrevious
bool EnablePlayPrevious( bool bValue );
Nama | Type | Description |
bValue | bool | |
Abilities for the user interface
Hasil: bool
EnableQueue
bool EnableQueue( bool bValue );
Nama | Type | Description |
bValue | bool | |
Hasil: bool
EnableShuffled
bool EnableShuffled( bool bValue );
Nama | Type | Description |
bValue | bool | |
Hasil: bool
PlaylistDidChange
bool PlaylistDidChange();
Hasil: bool
PlaylistWillChange
bool PlaylistWillChange();
Playlist
Hasil: bool
QueueDidChange
bool QueueDidChange();
Hasil: bool
QueueWillChange
bool QueueWillChange();
Queue
Hasil: bool
RegisterSteamMusicRemote
bool RegisterSteamMusicRemote( const char *pchName );
Nama | Type | Description |
pchName | const char * | |
Service Definition
Hasil: bool
ResetPlaylistEntries
bool ResetPlaylistEntries();
Hasil: bool
ResetQueueEntries
bool ResetQueueEntries();
Hasil: bool
SetCurrentPlaylistEntry
bool SetCurrentPlaylistEntry( int nID );
Nama | Type | Description |
nID | int | |
Hasil: bool
SetCurrentQueueEntry
bool SetCurrentQueueEntry( int nID );
Nama | Type | Description |
nID | int | |
Hasil: bool
SetDisplayName
bool SetDisplayName( const char *pchDisplayName );
Nama | Type | Description |
pchDisplayName | const char * | |
Hasil: bool
SetPlaylistEntry
bool SetPlaylistEntry( int nID, int nPosition, const char *pchEntryText );
Nama | Type | Description |
nID | int | |
nPosition | int | |
pchEntryText | const char * | |
Hasil: bool
SetPNGIcon_64x64
bool SetPNGIcon_64x64( void *pvBuffer, uint32 cbBufferLength );
Nama | Type | Description |
pvBuffer | void * | |
cbBufferLength | uint32 | |
Hasil: bool
SetQueueEntry
bool SetQueueEntry( int nID, int nPosition, const char *pchEntryText );
Nama | Type | Description |
nID | int | |
nPosition | int | |
pchEntryText | const char * | |
Hasil: bool
UpdateCurrentEntryCoverArt
bool UpdateCurrentEntryCoverArt( void *pvBuffer, uint32 cbBufferLength );
Nama | Type | Description |
pvBuffer | void * | |
cbBufferLength | uint32 | |
Hasil: bool
UpdateCurrentEntryElapsedSeconds
bool UpdateCurrentEntryElapsedSeconds( int nValue );
Nama | Type | Description |
nValue | int | |
Hasil: bool
UpdateCurrentEntryText
bool UpdateCurrentEntryText( const char *pchText );
Nama | Type | Description |
pchText | const char * | |
Hasil: bool
UpdateLooped
bool UpdateLooped( bool bValue );
Nama | Type | Description |
bValue | bool | |
Hasil: bool
UpdatePlaybackStatus
bool UpdatePlaybackStatus( AudioPlayback_Status nStatus );
Status
Hasil: bool
UpdateShuffled
bool UpdateShuffled( bool bValue );
Nama | Type | Description |
bValue | bool | |
Hasil: bool
UpdateVolume
bool UpdateVolume( float flValue );
Nama | Type | Description |
flValue | float | |
Hasil: 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
Nama | Type | Description |
nID | int | |
MusicPlayerSelectsQueueEntry_t
Nama | Type | Description |
nID | int | |
MusicPlayerWantsLooped_t
Nama | Type | Description |
m_bLooped | bool | |
MusicPlayerWantsPause_t
This callback has no fields.
MusicPlayerWantsPlayingRepeatStatus_t
Nama | Type | Description |
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
Nama | Type | Description |
m_bShuffled | bool | |
MusicPlayerWantsVolume_t
Nama | Type | Description |
m_flNewVolume | float | |
MusicPlayerWillQuit_t
This callback has no fields.
Constants
These are constants which are defined for use with ISteamMusicRemote.
Nama | Type | Nilai | Description |
k_SteamMusicNameMaxLength | int | 255 | |
k_SteamMusicPNGMaxLength | int | 65535 | |
STEAMMUSICREMOTE_INTERFACE_VERSION | const char * | "STEAMMUSICREMOTE_INTERFACE_VERSION001" | |