SteamMusicRemote
Swift
public struct SteamMusicRemote: Sendable
Steamworks ISteamMusicRemote
Access via musicRemote
.
Topics
func activationSuccess(value: Bool) -> Bool
func activationSuccess(value: Bool) -> Bool
func isCurrentMusicRemote() -> Bool
func isCurrentMusicRemote() -> Bool
Steamworks ISteamMusicRemote::BIsCurrentMusicRemote()
Declaration
Swift
public func isCurrentMusicRemote() -> Bool
func currentEntryDidChange() -> Bool
func currentEntryDidChange() -> Bool
Steamworks ISteamMusicRemote::CurrentEntryDidChange()
Declaration
Swift
@discardableResult
public func currentEntryDidChange() -> Bool
func currentEntryIsAvailable(available: Bool) -> Bool
func currentEntryIsAvailable(available: Bool) -> Bool
func currentEntryWillChange() -> Bool
func currentEntryWillChange() -> Bool
Steamworks ISteamMusicRemote::CurrentEntryWillChange()
Declaration
Swift
@discardableResult
public func currentEntryWillChange() -> Bool
func deregisterSteamMusicRemote() -> Bool
func deregisterSteamMusicRemote() -> Bool
Steamworks ISteamMusicRemote::DeregisterSteamMusicRemote()
Declaration
Swift
@discardableResult
public func deregisterSteamMusicRemote() -> Bool
func enableLooped(value: Bool) -> Bool
func enableLooped(value: Bool) -> Bool
func enablePlayNext(value: Bool) -> Bool
func enablePlayNext(value: Bool) -> Bool
func enablePlayPrevious(value: Bool) -> Bool
func enablePlayPrevious(value: Bool) -> Bool
func enablePlaylists(value: Bool) -> Bool
func enablePlaylists(value: Bool) -> Bool
func enableQueue(value: Bool) -> Bool
func enableQueue(value: Bool) -> Bool
func enableShuffled(value: Bool) -> Bool
func enableShuffled(value: Bool) -> Bool
func playlistDidChange() -> Bool
func playlistDidChange() -> Bool
Steamworks ISteamMusicRemote::PlaylistDidChange()
Declaration
Swift
@discardableResult
public func playlistDidChange() -> Bool
func playlistWillChange() -> Bool
func playlistWillChange() -> Bool
Steamworks ISteamMusicRemote::PlaylistWillChange()
Declaration
Swift
@discardableResult
public func playlistWillChange() -> Bool
func queueDidChange() -> Bool
func queueDidChange() -> Bool
Steamworks ISteamMusicRemote::QueueDidChange()
Declaration
Swift
@discardableResult
public func queueDidChange() -> Bool
func queueWillChange() -> Bool
func queueWillChange() -> Bool
Steamworks ISteamMusicRemote::QueueWillChange()
Declaration
Swift
@discardableResult
public func queueWillChange() -> Bool
func registerSteamMusicRemote(name: String) -> Bool
func registerSteamMusicRemote(name: String) -> Bool
func resetPlaylistEntries() -> Bool
func resetPlaylistEntries() -> Bool
Steamworks ISteamMusicRemote::ResetPlaylistEntries()
Declaration
Swift
@discardableResult
public func resetPlaylistEntries() -> Bool
func resetQueueEntries() -> Bool
func resetQueueEntries() -> Bool
Steamworks ISteamMusicRemote::ResetQueueEntries()
Declaration
Swift
@discardableResult
public func resetQueueEntries() -> Bool
func setCurrentPlaylistEntry(id: Int) -> Bool
func setCurrentPlaylistEntry(id: Int) -> Bool
func setCurrentQueueEntry(id: Int) -> Bool
func setCurrentQueueEntry(id: Int) -> Bool
func setDisplayName(displayName: String) -> Bool
func setDisplayName(displayName: String) -> Bool
func setPNGIcon64x64(buffer: UnsafeRawPointer, bufferSize: Int) -> Bool
func setPNGIcon64x64(buffer: UnsafeRawPointer, bufferSize: Int) -> Bool
func setPlaylistEntry(id: Int, position: Int, entryText: String) -> Bool
func setPlaylistEntry(id: Int, position: Int, entryText: String) -> Bool
func setQueueEntry(id: Int, position: Int, entryText: String) -> Bool
func setQueueEntry(id: Int, position: Int, entryText: String) -> Bool
func updateCurrentEntryCoverArt(buffer: UnsafeRawPointer, bufferSize: Int) -> Bool
func updateCurrentEntryCoverArt(buffer: UnsafeRawPointer, bufferSize: Int) -> Bool
func updateCurrentEntryElapsedSeconds(value: Int) -> Bool
func updateCurrentEntryElapsedSeconds(value: Int) -> Bool
func updateCurrentEntryText(text: String) -> Bool
func updateCurrentEntryText(text: String) -> Bool
func updateLooped(value: Bool) -> Bool
func updateLooped(value: Bool) -> Bool
func updatePlaybackStatus(status: AudioPlaybackStatus) -> Bool
func updatePlaybackStatus(status: AudioPlaybackStatus) -> Bool
Steamworks ISteamMusicRemote::UpdatePlaybackStatus()
Declaration
Swift
@discardableResult
public func updatePlaybackStatus(status: AudioPlaybackStatus) -> Bool
func updateShuffled(value: Bool) -> Bool
func updateShuffled(value: Bool) -> Bool
func updateVolume(value: Float) -> Bool
func updateVolume(value: Float) -> Bool