writeOrder(_:)
Writes the display order of the media sources to the accessory.
Declaration
func writeOrder(_ order: [Int]) async throwsParameters
- order:
The new display order for the media sources. Provides an ordered list of Hmcharacteristictypeidentifier values for Hmservicetypeinputsource services associated with the profile.
Discussion
An error is thrown if the source ordering fails to be written to the accessory.