VIAudioFile.network constructor
VIAudioFile.network(
- String? url, {
- VIAudioFileUsage usage = VIAudioFileUsage.unknown,
Constructs a VIAudioFile to play an audio file obtained from the network.
url
- HTTP URL of the stream to play
usage
- Audio file usage mode. ANDROID ONLY.
Implementation
VIAudioFile.network(
this.url, {
VIAudioFileUsage usage = VIAudioFileUsage.unknown,
}) : _dataSource = _VIAudioFileDataSource.network,
_usage = usage,
name = null,
type = null;