You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param id Sonos generates this unique identifier and assigned to the audio clip.
31
-
* @param name User identifiable string.
32
-
* @param appId This string identifies the app that created the audioClip. Companies should use their reversed Internet domain name as the identifier, similar to com.acme.app.
33
-
* @param priority (Optional) Clip priority. Clips are low priority by default (not yet implemented).
34
-
* @param clipType (Optional) Sonos plays a built-in sound when this option is provided. The default value is CHIME.
35
-
* @param streamUrl (Optional) Sonos will play this URL when you provide one. The caller does not need to specify a CUSTOM clipType in addition to providing the streamUrl. Sonos supports only MP3 or WAV files as audio clips.
37
+
* @param id Sonos generates this unique identifier and assigned to the audio clip.
38
+
* @param name User identifiable string.
39
+
* @param appId This string identifies the app that created the audioClip. Companies should use their reversed Internet domain name as the identifier, similar to com.acme.app.
40
+
* @param priority (Optional) Clip priority. Clips are low priority by default (not yet implemented).
41
+
* @param clipType (Optional) Sonos plays a built-in sound when this option is provided. The default value is CHIME.
42
+
* @param status This field indicates the state of the audio clip, for example, if it’s active, it’s currently playing. Audio clips transition from pending (on load) to active to done. Sonos returns the state only in events.
43
+
* @param errorCode (Optional) Custom error code for audio clips.
44
+
* @param streamUrl (Optional) Sonos will play this URL when you provide one. The caller does not need to specify a CUSTOM clipType in addition to providing the streamUrl. Sonos supports only MP3 or WAV files as audio clips.
45
+
* @param httpAuthorization (Optional) Set a string to pass in the Authorization header when fetching the streamUrl. Omit this parameter to omit the Authorization header. Sonos includes the Authorization header when the streamUrl is secure (HTTPS). Sonos supports an httpAuthorization value up to 512 bytes.
46
+
* @param volume (Optional) Audio Clip playback volume, between 0 and 100. There are internal upper and lower limits for the audio clip volume level in order to prevent the audio clip from being too loud or inaudible.
47
+
* If the parameter is beyond those limits, Sonos automatically adjusts the audio clip volume to the lower or upper limit. The default behavior is to playback at the current player volume.
ERROR_AUDIO_CLIP_DO_NOT_DISTURB("The user has enabled “do not disturb” mode, which temporarily disables audio clips (not yet implemented)."),
9
+
ERROR_AUDIO_CLIP_ID_NOT_FOUND("The specified audio clip id was not recognized by the player. This may be because the player purged it from memory. Players purge audio clips from memory after playing them."),
10
+
ERROR_AUDIO_CLIP_MEDIA_ERROR("The media type is not supported by Sonos."),
11
+
ERROR_AUDIO_CLIP_CANCEL("The clip was canceled before activation. When canceled, the status of the clip moves from pending to dismissed."),
12
+
ERROR_AUDIO_CLIP_EXPIRE("The clip expired prior to activation.");
0 commit comments