AudioTrackConfig
The configuration of custom audio tracks.
@JsonSerializable(explicitToJson: true, includeIfNull: false) class AudioTrackConfig { const AudioTrackConfig({this.enableLocalPlayback}); @JsonKey(name: 'enableLocalPlayback') final bool? enableLocalPlayback; factory AudioTrackConfig.fromJson(Map<String, dynamic> json) => _$AudioTrackConfigFromJson(json); Map<String, dynamic> toJson() => _$AudioTrackConfigToJson(this); }
Attributes
- enableLocalPlayback
- Whether to enable the local audio-playback device:
true
: (Default) Enable the local audio-playback device.false
: Do not enable the local audio-playback device.