Steam 뮤직 플레이어와 직접 상호작용하도록 해줍니다.
자세한 내용은
features/music_player 문서를 참조하세요.
멤버 함수
ISteamMusicRemote
의 멤버 함수는 전역 접근자 함수
SteamMusicRemote()
를 통해 호출됩니다.
BActivationSuccess
bool BActivationSuccess( bool bValue );
반환값: bool
BIsCurrentMusicRemote
bool BIsCurrentMusicRemote();
반환값: bool
CurrentEntryDidChange
bool CurrentEntryDidChange();
반환값: bool
CurrentEntryIsAvailable
bool CurrentEntryIsAvailable( bool bAvailable );
반환값: bool
CurrentEntryWillChange
bool CurrentEntryWillChange();
현재 입력값
반환값: bool
DeregisterSteamMusicRemote
bool DeregisterSteamMusicRemote();
반환값: bool
EnableLooped
bool EnableLooped( bool bValue );
반환값: bool
EnablePlaylists
bool EnablePlaylists( bool bValue );
이름 | 유형 | Description |
bValue | bool | |
반환값: bool
EnablePlayNext
bool EnablePlayNext( bool bValue );
반환값: bool
EnablePlayPrevious
bool EnablePlayPrevious( bool bValue );
사용자 인터페이스 기능
반환값: bool
EnableQueue
bool EnableQueue( bool bValue );
반환값: bool
EnableShuffled
bool EnableShuffled( bool bValue );
반환값: bool
PlaylistDidChange
bool PlaylistDidChange();
반환값: bool
PlaylistWillChange
bool PlaylistWillChange();
재생 목록
반환값: bool
QueueDidChange
bool QueueDidChange();
반환값: bool
QueueWillChange
bool QueueWillChange();
대기열
반환값: bool
RegisterSteamMusicRemote
bool RegisterSteamMusicRemote( const char *pchName );
이름 | 유형 | 설명 |
pchName | const char * | |
서비스 정의
반환값: bool
ResetPlaylistEntries
bool ResetPlaylistEntries();
반환값: bool
ResetQueueEntries
bool ResetQueueEntries();
반환값: bool
SetCurrentPlaylistEntry
bool SetCurrentPlaylistEntry( int nID );
반환값: bool
SetCurrentQueueEntry
bool SetCurrentQueueEntry( int nID );
반환값: 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 );
반환값: bool
UpdateCurrentEntryText
bool UpdateCurrentEntryText( const char *pchText );
이름 | 유형 | 설명 |
pchText | const char * | |
반환값: bool
UpdateLooped
bool UpdateLooped( bool bValue );
반환값: bool
UpdatePlaybackStatus
bool UpdatePlaybackStatus( AudioPlayback_Status nStatus );
내 상태
반환값: bool
UpdateShuffled
bool UpdateShuffled( bool bValue );
반환값: bool
UpdateVolume
bool UpdateVolume( float flValue );
반환값: bool
콜백
다음은
SteamAPI_RunCallbacks를 호출하여 실행할 수 있는 콜백입니다. 이들 중 대부분은
ISteamMusicRemote
의 멤버 함수에 대한 응답으로 직접 실행할 수 있습니다.
MusicPlayerRemoteToFront_t
이 콜백에는 필드가 없습니다.
MusicPlayerRemoteWillActivate_t
이 콜백에는 필드가 없습니다.
MusicPlayerRemoteWillDeactivate_t
이 콜백에는 필드가 없습니다.
MusicPlayerSelectsPlaylistEntry_t
MusicPlayerSelectsQueueEntry_t
MusicPlayerWantsLooped_t
MusicPlayerWantsPause_t
이 콜백에는 필드가 없습니다.
MusicPlayerWantsPlayingRepeatStatus_t
이름 | 유형 | 설명 |
m_nPlayingRepeatStatus | int | |
MusicPlayerWantsPlayNext_t
이 콜백에는 필드가 없습니다.
MusicPlayerWantsPlayPrevious_t
이 콜백에는 필드가 없습니다.
MusicPlayerWantsPlay_t
이 콜백에는 필드가 없습니다.
MusicPlayerWantsShuffled_t
MusicPlayerWantsVolume_t
이름 | 유형 | 설명 |
m_flNewVolume | float | |
MusicPlayerWillQuit_t
이 콜백에는 필드가 없습니다.
상수
ISteamMusicRemote와 함께 사용하기 위해 정의된 상수입니다.
이름 | 유형 | 값 | 설명 |
k_SteamMusicNameMaxLength | int | 255 | |
k_SteamMusicPNGMaxLength | int | 65535 | |
STEAMMUSICREMOTE_INTERFACE_VERSION | const char * | "STEAMMUSICREMOTE_INTERFACE_VERSION001" | |