Contents

MusicPlayerSetSequence(_:_:)

Sets the music sequence for the music player to play.

Declaration

func MusicPlayerSetSequence(_ inPlayer: MusicPlayer, _ inSequence: MusicSequence?) -> OSStatus

Parameters

  • inPlayer:

    The music player you are configuring.

  • inSequence:

    The music sequence for the music player to play.

Return Value

A result code

Discussion

A music player must be stopped to call this function on it. Setting a music sequence for a player overrides the previously set sequence.

See Also

Managing a Music Player