Package Skype4Py :: Module conversion :: Class IConversion
[frames] | no frames]

Class IConversion

source code

object --+
         |
        IConversion

Allows conversion between constants and text. Access using ISkype.Convert.

Instance Methods
 
__init__(self, Skype)
__init__.
source code
unicode
AttachmentStatusToText(self, Status)
Returns attachment status as text.
source code
unicode
BuddyStatusToText(self, Status)
Returns buddy status as text.
source code
unicode
CallFailureReasonToText(self, Reason)
Returns failure reason as text.
source code
unicode
CallStatusToText(self, Status)
Returns call status as text.
source code
unicode
CallTypeToText(self, Type)
Returns call type as text.
source code
unicode
CallVideoSendStatusToText(self, Status)
Returns call video send status as text.
source code
unicode
CallVideoStatusToText(self, Status)
Returns call video status as text.
source code
unicode
ChatLeaveReasonToText(self, Reason)
Returns leave reason as text.
source code
unicode
ChatMessageStatusToText(self, Status)
Returns message status as text.
source code
unicode
ChatMessageTypeToText(self, Type)
Returns message type as text.
source code
unicode
ChatStatusToText(self, Status)
Returns chatr status as text.
source code
unicode
ConnectionStatusToText(self, Status)
Returns connection status as text.
source code
unicode
GroupTypeToText(self, Type)
Returns group type as text.
source code
unicode
OnlineStatusToText(self, Status)
Returns online status as text.
source code
unicode
SmsMessageStatusToText(self, Status)
Returns SMS message status as text.
source code
unicode
SmsMessageTypeToText(self, Type)
Returns SMS message type as text.
source code
unicode
SmsTargetStatusToText(self, Status)
Returns SMS target status as text.
source code
Attachment status
TextToAttachmentStatus(self, Text)
Returns attachment status code.
source code
Buddy status
TextToBuddyStatus(self, Text)
Returns buddy status code.
source code
Call status
TextToCallStatus(self, Text)
Returns call status code.
source code
Call type
TextToCallType(self, Text)
Returns call type code.
source code
Chat message status
TextToChatMessageStatus(self, Text)
Returns message status code.
source code
Chat message type
TextToChatMessageType(self, Text)
Returns message type code.
source code
Connection status
TextToConnectionStatus(self, Text)
Retunes connection status code.
source code
Group type
TextToGroupType(self, Text)
Returns group type code.
source code
Online status
TextToOnlineStatus(self, Text)
Returns online status code.
source code
User sex
TextToUserSex(self, Text)
Returns user sex code.
source code
User status
TextToUserStatus(self, Text)
Returns user status code.
source code
Voicemail status
TextToVoicemailStatus(self, Text)
Returns voicemail status code.
source code
unicode
UserSexToText(self, Sex)
Returns user sex as text.
source code
unicode
UserStatusToText(self, Status)
Returns user status as text.
source code
unicode
VoicemailFailureReasonToText(self, Reason)
Returns voicemail failure reason as text.
source code
unicode
VoicemailStatusToText(self, Status)
Returns voicemail status as text.
source code
unicode
VoicemailTypeToText(self, Type)
Returns voicemail type as text.
source code

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

Properties
unicode Language
Language used for all "ToText" conversions.

Inherited from object: __class__

Method Details

__init__(self, Skype)
(Constructor)

source code 

__init__.

Parameters:
  • Skype (ISkype) - Skype object.
Overrides: object.__init__

AttachmentStatusToText(self, Status)

source code 

Returns attachment status as text.

Parameters:
Returns: unicode
Text describing the attachment status.

BuddyStatusToText(self, Status)

source code 

Returns buddy status as text.

Parameters:
Returns: unicode
Text describing the buddy status.

CallFailureReasonToText(self, Reason)

source code 

Returns failure reason as text.

Parameters:
Returns: unicode
Text describing the call failure reason.

CallStatusToText(self, Status)

source code 

Returns call status as text.

Parameters:
Returns: unicode
Text describing the call status.

CallTypeToText(self, Type)

source code 

Returns call type as text.

Parameters:
Returns: unicode
Text describing the call type.

CallVideoSendStatusToText(self, Status)

source code 

Returns call video send status as text.

Parameters:
Returns: unicode
Text describing the call video send status.

CallVideoStatusToText(self, Status)

source code 

Returns call video status as text.

Parameters:
Returns: unicode
Text describing the call video status.

ChatLeaveReasonToText(self, Reason)

source code 

Returns leave reason as text.

Parameters:
Returns: unicode
Text describing the chat leave reason.

ChatMessageStatusToText(self, Status)

source code 

Returns message status as text.

Parameters:
Returns: unicode
Text describing the chat message status.

ChatMessageTypeToText(self, Type)

source code 

Returns message type as text.

Parameters:
Returns: unicode
Text describing the chat message type.

ChatStatusToText(self, Status)

source code 

Returns chatr status as text.

Parameters:
Returns: unicode
Text describing the chat status.

ConnectionStatusToText(self, Status)

source code 

Returns connection status as text.

Parameters:
Returns: unicode
Text describing the connection status.

GroupTypeToText(self, Type)

source code 

Returns group type as text.

Parameters:
Returns: unicode
Text describing the group type.

OnlineStatusToText(self, Status)

source code 

Returns online status as text.

Parameters:
Returns: unicode
Text describing the online status.

SmsMessageStatusToText(self, Status)

source code 

Returns SMS message status as text.

Parameters:
Returns: unicode
Text describing the SMS message status.

SmsMessageTypeToText(self, Type)

source code 

Returns SMS message type as text.

Parameters:
Returns: unicode
Text describing the SMS message type.

SmsTargetStatusToText(self, Status)

source code 

Returns SMS target status as text.

Parameters:
Returns: unicode
Text describing the SMS target status.

TextToAttachmentStatus(self, Text)

source code 

Returns attachment status code.

Parameters:
  • Text (unicode) - Text, one of 'UNKNOWN', 'SUCCESS', 'PENDING_AUTHORIZATION', 'REFUSED', 'NOT_AVAILABLE', 'AVAILABLE'.
Returns: Attachment status
Attachment status.

TextToBuddyStatus(self, Text)

source code 

Returns buddy status code.

Parameters:
  • Text (unicode) - Text, one of 'UNKNOWN', 'NEVER_BEEN_FRIEND', 'DELETED_FRIEND', 'PENDING_AUTHORIZATION', 'FRIEND'.
Returns: Buddy status
Buddy status.

TextToCallStatus(self, Text)

source code 

Returns call status code.

Parameters:
Returns: Call status
Call status.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToCallType(self, Text)

source code 

Returns call type code.

Parameters:
Returns: Call type
Call type.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToChatMessageStatus(self, Text)

source code 

Returns message status code.

Parameters:
Returns: Chat message status
Chat message status.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToChatMessageType(self, Text)

source code 

Returns message type code.

Parameters:
Returns: Chat message type
Chat message type.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToConnectionStatus(self, Text)

source code 

Retunes connection status code.

Parameters:
Returns: Connection status
Connection status.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToGroupType(self, Text)

source code 

Returns group type code.

Parameters:
Returns: Group type
Group type.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToOnlineStatus(self, Text)

source code 

Returns online status code.

Parameters:
Returns: Online status
Online status.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToUserSex(self, Text)

source code 

Returns user sex code.

Parameters:
  • Text (unicode) - Text, one of User sex.
Returns: User sex
User sex.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToUserStatus(self, Text)

source code 

Returns user status code.

Parameters:
Returns: User status
User status.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

TextToVoicemailStatus(self, Text)

source code 

Returns voicemail status code.

Parameters:
Returns: Voicemail status
Voicemail status.

Note: Currently, this method only checks if the given string is one of the allowed ones and returns it or raises a ValueError.

UserSexToText(self, Sex)

source code 

Returns user sex as text.

Parameters:
Returns: unicode
Text describing the user sex.

UserStatusToText(self, Status)

source code 

Returns user status as text.

Parameters:
Returns: unicode
Text describing the user status.

VoicemailFailureReasonToText(self, Reason)

source code 

Returns voicemail failure reason as text.

Parameters:
Returns: unicode
Text describing the voicemail failure reason.

VoicemailStatusToText(self, Status)

source code 

Returns voicemail status as text.

Parameters:
Returns: unicode
Text describing the voicemail status.

VoicemailTypeToText(self, Type)

source code 

Returns voicemail type as text.

Parameters:
Returns: unicode
Text describing the voicemail type.

Property Details

Language

Language used for all "ToText" conversions.

Currently supported languages: ar, bg, cs, cz, da, de, el, en, es, et, fi, fr, he, hu, it, ja, ko, lt, lv, nl, no, pl, pp, pt, ro, ru, sv, tr, x1.

Get Method:
_GetLanguage(self)
Set Method:
_SetLanguage(self, Language)
Type:
unicode