Reference
ID and Flag Values
The following tables list important ID and flag values used in the AMS.
Name | Value |
---|---|
| 0 |
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7 |
| 8 |
| 9 |
| 10 |
| 11 |
| 12 |
| 13 |
Reserved | 14-255 |
Name | Value |
---|---|
| 0 |
| 1 |
| 2 |
Reserved | 3-255 |
Name | Value |
---|---|
| (1 << 0) |
Reserved | (1 << 1) - (1 << 7) |
Name | Value | Format |
---|---|---|
| 0 | A string containing the localized name of the app. |
| 1 |
A concatenation of three comma-separated values:
|
| 2 | A string that represents the floating point value of the volume, ranging from 0 (silent) to 1 (full volume). |
Reserved | 3-255 |
Using the following formula at any time, the MR can calculate from the Playback Rate and Elapsed Time how much time has elapsed during the playback of the track:
CurrentElapsedTime
= ElapsedTime
+ ((TimeNow
– TimePlaybackInfoWasReceived
) * PlaybackRate
)
This lets MRs implement and display a UI scrubber without needing to poll the MS for continuous updates.
Name | Value | Format |
---|---|---|
| 0 | A string containing the integer value of the queue index, zero-based. |
| 1 | A string containing the integer value of the total number of items in the queue. |
| 2 | A string containing the integer value of the shuffle mode. Table A-6 lists the shuffle mode constants. |
| 3 | A string containing the integer value value of the repeat mode. Table A-7 lists the repeat mode constants. |
Reserved | 4-255 |
Name | Value |
---|---|
| 0 |
| 1 |
| 2 |
Reserved | 3-255 |
Name | Value |
---|---|
| 0 |
| 1 |
| 2 |
Reserved | 3-255 |
Name | Value | Format |
---|---|---|
| 0 | A string containing the name of the artist. |
| 1 | A string containing the name of the album. |
| 2 | A string containing the title of the track. |
| 3 | A string containing the floating point value of the total duration of the track in seconds. |
Reserved | 4-255 |
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-09-17