Audio
Play audio from a url or path (String).
Parameters
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provide the Platform Context (this is mostly to accommodate Android)
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provide the Platform Context (this is mostly to accommodate Android)
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provide the Platform Context (this is mostly to accommodate Android)
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provide the Platform Context (this is mostly to accommodate Android)
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provide the Platform Context (this is mostly to accommodate Android)
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"Play audio from a url or path (String).
Parameters
provide the Platform Context (this is mostly to accommodate Android)
provides the link to the audio file online
play after AudioState.READY is reached (defaults to "false").
Example:
val audioUrl = "https://dare.wisc.edu/wp-content/uploads/sites/1051/2008/11/MS072.mp3"
val audio = Audio(audioUrl, true) // AutoPlay is marked "true"