Package Skype4Py :: Module voicemail :: Class IVoicemail
[frames] | no frames]

Class IVoicemail

source code

  object --+    
           |    
utils.Cached --+
               |
              IVoicemail

Represents a voicemail.

Instance Methods
 
__repr__(self)
repr(x)
source code
unicode, dict or None
CaptureMicDevice(self, DeviceType=None, Set=None)
Queries or sets the mic capture device.
source code
 
Delete(self)
Deletes this voicemail.
source code
 
Download(self)
Downloads this voicemail object from the voicemail server to a local computer.
source code
unicode, dict or None
InputDevice(self, DeviceType=None, Set=None)
Queries or sets the sound input device.
source code
 
Open(self)
Opens and plays this voicemail.
source code
unicode, dict or None
OutputDevice(self, DeviceType=None, Set=None)
Queries or sets the sound output device.
source code
 
SetUnplayed(self)
Changes the status of a voicemail from played to unplayed.
source code
 
StartPlayback(self)
Starts playing downloaded voicemail.
source code
 
StartPlaybackInCall(self)
Starts playing downloaded voicemail during a call.
source code
 
StartRecording(self)
Stops playing a voicemail greeting and starts recording a voicemail message.
source code
 
StopPlayback(self)
Stops playing downloaded voicemail.
source code
 
StopRecording(self)
Ends the recording of a voicemail message.
source code
 
Upload(self)
Uploads recorded voicemail from a local computer to the voicemail server.
source code

Inherited from utils.Cached: __copy__

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

Static Methods

Inherited from utils.Cached: __new__

Class Variables

Inherited from utils.Cached: _cache_

Properties
int AllowedDuration
Maximum voicemail duration in seconds allowed to leave to partner
datetime.datetime Datetime
Timestamp of this voicemail expressed using datetime.
int Duration
Actual voicemail duration in seconds.
Voicemail failure reason FailureReason
Voicemail failure reason.
int Id
Unique voicemail Id.
unicode PartnerDisplayName
DisplayName for voicemail sender (for incoming) or recipient (for outgoing).
unicode PartnerHandle
Skypename for voicemail sender (for incoming) or recipient (for outgoing).
Voicemail status Status
Voicemail status.
float Timestamp
Timestamp of this voicemail.
Voicemail type Type
Voicemail type.

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

CaptureMicDevice(self, DeviceType=None, Set=None)

source code 

Queries or sets the mic capture device.

Parameters:
  • DeviceType (Call IO device type or None) - Mic capture device type or None.
  • Set (unicode, int or None) - Value the device should be set to or None.
Returns: unicode, dict or None
If DeviceType and Set are None, returns a dictionary of device types and their values. Dictionary contains only those device types, whose values were set. If the DeviceType is not None but Set is None, returns the current value of the device or None if the device wasn't set. If Set is not None, sets a new value for the device.

InputDevice(self, DeviceType=None, Set=None)

source code 

Queries or sets the sound input device.

Parameters:
  • DeviceType (Call IO device type or None) - Sound input device type or None.
  • Set (unicode, int or None) - Value the device should be set to or None.
Returns: unicode, dict or None
If DeviceType and Set are None, returns a dictionary of device types and their values. Dictionary contains only those device types, whose values were set. If the DeviceType is not None but Set is None, returns the current value of the device or None if the device wasn't set. If Set is not None, sets a new value for the device.

OutputDevice(self, DeviceType=None, Set=None)

source code 

Queries or sets the sound output device.

Parameters:
  • DeviceType (Call IO device type or None) - Sound output device type or None.
  • Set (unicode, int or None) - Value the device should be set to or None.
Returns: unicode, dict or None
If DeviceType and Set are None, returns a dictionary of device types and their values. Dictionary contains only those device types, whose values were set. If the DeviceType is not None but Set is None, returns the current value of the device or None if the device wasn't set. If Set is not None, sets a new value for the device.

Property Details

AllowedDuration

Maximum voicemail duration in seconds allowed to leave to partner

Get Method:
_GetAllowedDuration(self)
Type:
int

Datetime

Timestamp of this voicemail expressed using datetime.

Get Method:
_GetDatetime(self)
Type:
datetime.datetime

Duration

Actual voicemail duration in seconds.

Get Method:
_GetDuration(self)
Type:
int

FailureReason

Voicemail failure reason. Read if Status == vmsFailed.

Get Method:
_GetFailureReason(self)
Type:
Voicemail failure reason

Id

Unique voicemail Id.

Get Method:
_GetId(self)
Type:
int

PartnerDisplayName

DisplayName for voicemail sender (for incoming) or recipient (for outgoing).

Get Method:
_GetPartnerDisplayName(self)
Type:
unicode

PartnerHandle

Skypename for voicemail sender (for incoming) or recipient (for outgoing).

Get Method:
_GetPartnerHandle(self)
Type:
unicode

Status

Voicemail status.

Get Method:
_GetStatus(self)
Type:
Voicemail status

Timestamp

Timestamp of this voicemail.

Get Method:
_GetTimestamp(self)
Type:
float

Type

Voicemail type.

Get Method:
_GetType(self)
Type:
Voicemail type