SoundVolumeView class

This file is a part of SoundVolumeView (https://github.com/DomingoMG/sound_volume_view.dart).

Copyright (c) 2022, Domingo Montesdeoca González DomingoMG97@gmail.com. All rights reserved. Use of this source code is governed by MIT license that can be found in the LICENSE file.

Constructors

SoundVolumeView({String? softwarePath})

Properties

applicationDevices List<Device>
applicationDevices You only get the application devices
getter/setter pair
captureDevices List<Device>
captureDevices You only get the capture devices
getter/setter pair
getDevices Future<List<Device>>
getDevices getDevices gets all input, output, and application devices
no setter
hashCode int
The hash code for this object.
no setterinherited
outputDevices List<Device>
outputDevices You only get the output devices
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softwarePath String?
softwarePath Absolute path of where SoundVolumeView.exe is located
getter/setter pair

Methods

mute(Device device) Future<void>
mute mute the device
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAppDefault(Device applicationDevice, Device outputDevice, {DefaultType defaultType = DefaultType.multimedia}) Future<void>
setAppDefault Allows you to set the default render/capture device for specfic application.
setDefault(Device outputDevice, {DefaultType defaultType = DefaultType.all}) Future<void>
setDefault Output devices set all default types (Console, Multimedia, and Communications)
setListenToThisDevice(Device device, {bool listen = true}) Future<void>
setListenToThisDevice Enable or disable recording line preview
setPlaybackThroughDevice(Device recordingDevice, Device playbackDevice) Future<void>
setPlaybackThroughDevice Assigns the output device to the recording line signal
setVolume(Device device, int volume) Future<void>
setVolume Will lower or raise the volume to the indicated device - 0% to 100%
toString() String
A string representation of this object.
inherited
unMute(Device device) Future<void>
unMute Turn on device sound

Operators

operator ==(Object other) bool
The equality operator.
inherited