Package Skype4Py :: Module call :: Class DeviceMixin
[frames] | no frames]

Class DeviceMixin

source code

object --+
         |
        DeviceMixin
Known Subclasses:

Instance Methods
 
CaptureMicDevice(self, DeviceType=None, Set=<type 'NoneType'>)
Queries or sets the mic capture device.
source code
 
InputDevice(self, DeviceType=None, Set=<type 'NoneType'>)
Queries or sets the sound input device.
source code
 
OutputDevice(self, DeviceType=None, Set=<type 'NoneType'>)
Queries or sets the sound output device.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

CaptureMicDevice(self, DeviceType=None, Set=<type 'NoneType'>)

source code 

Queries or sets the mic capture device.

Querying all active devices:
Devices = CaptureMicDevice()

Returns a mapping of device types to their values. Only active devices are returned.

Querying a specific device:
Value = CaptureMicDevice(DeviceType)

Returns a device value for the given DeviceType.

Setting a device value:
CaptureMicDevice(DeviceType, Value)

If Value is None, the device will be deactivated.

Parameters:
  • DeviceType (enums.callIoDeviceType* or None) - Mic capture device type.
  • Set - Value the device should be set to or None if it should be deactivated.

Note: This command functions for active calls only.

InputDevice(self, DeviceType=None, Set=<type 'NoneType'>)

source code 

Queries or sets the sound input device.

Querying all active devices:
Devices = InputDevice()

Returns a mapping of device types to their values. Only active devices are returned.

Querying a specific device:
Value = InputDevice(DeviceType)

Returns a device value for the given DeviceType.

Setting a device value:
InputDevice(DeviceType, Value)

If Value is None, the device will be deactivated.

Parameters:
  • DeviceType (enums.callIoDeviceType* or None) - Sound input device type.
  • Set - Value the device should be set to or None if it should be deactivated.

Note: This command functions for active calls only.

OutputDevice(self, DeviceType=None, Set=<type 'NoneType'>)

source code 

Queries or sets the sound output device.

Querying all active devices:
Devices = OutputDevice()

Returns a mapping of device types to their values. Only active devices are returned.

Querying a specific device:
Value = OutputDevice(DeviceType)

Returns a device value for the given DeviceType.

Setting a device value:
OutputDevice(DeviceType, Value)

If Value is None, the device will be deactivated.

Parameters:
  • DeviceType (enums.callIoDeviceType* or None) - Sound output device type.
  • Set - Value the device should be set to or None if it should be deactivated.

Note: This command functions for active calls only.