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

Class Conversion

source code

object --+
         |
        Conversion

Allows conversion between constants and text. Access using skype.Skype.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
enums.apiAttach*
TextToAttachmentStatus(self, Text)
Returns attachment status code.
source code
enums.bud*
TextToBuddyStatus(self, Text)
Returns buddy status code.
source code
enums.cls*
TextToCallStatus(self, Text)
Returns call status code.
source code
enums.clt*
TextToCallType(self, Text)
Returns call type code.
source code
enums.cms*
TextToChatMessageStatus(self, Text)
Returns message status code.
source code
enums.cme*
TextToChatMessageType(self, Text)
Returns message type code.
source code
enums.con*
TextToConnectionStatus(self, Text)
Retunes connection status code.
source code
enums.grp*
TextToGroupType(self, Text)
Returns group type code.
source code
enums.ols*
TextToOnlineStatus(self, Text)
Returns online status code.
source code
enums.usex*
TextToUserSex(self, Text)
Returns user sex code.
source code
enums.cus*
TextToUserStatus(self, Text)
Returns user status code.
source code
enums.vms*
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
str Language
Language used for all "ToText" conversions.

Inherited from object: __class__

Method Details

__init__(self, Skype)
(Constructor)

source code 
__init__.
Parameters:
  • Skype (Skype) - Skype object.
Overrides: object.__init__

AttachmentStatusToText(self, Status)

source code 
Returns attachment status as text.
Parameters:
  • Status (enums.apiAttach*) - Attachment status.
Returns: unicode
Text describing the attachment status.

BuddyStatusToText(self, Status)

source code 
Returns buddy status as text.
Parameters:
  • Status (enums.bud*) - Buddy status.
Returns: unicode
Text describing the buddy status.

CallFailureReasonToText(self, Reason)

source code 
Returns failure reason as text.
Parameters:
  • Reason (enums.cfr*) - Call failure reason.
Returns: unicode
Text describing the call failure reason.

CallStatusToText(self, Status)

source code 
Returns call status as text.
Parameters:
  • Status (enums.cls*) - Call status.
Returns: unicode
Text describing the call status.

CallTypeToText(self, Type)

source code 
Returns call type as text.
Parameters:
  • Type (enums.clt*) - Call type.
Returns: unicode
Text describing the call type.

CallVideoSendStatusToText(self, Status)

source code 
Returns call video send status as text.
Parameters:
  • Status (enums.vss*) - Call video send status.
Returns: unicode
Text describing the call video send status.

CallVideoStatusToText(self, Status)

source code 
Returns call video status as text.
Parameters:
  • Status (enums.cvs*) - Call video status.
Returns: unicode
Text describing the call video status.

ChatLeaveReasonToText(self, Reason)

source code 
Returns leave reason as text.
Parameters:
  • Reason (enums.lea*) - Chat leave reason.
Returns: unicode
Text describing the chat leave reason.

ChatMessageStatusToText(self, Status)

source code 
Returns message status as text.
Parameters:
  • Status (enums.cms*) - Chat message status.
Returns: unicode
Text describing the chat message status.

ChatMessageTypeToText(self, Type)

source code 
Returns message type as text.
Parameters:
  • Type (enums.cme*) - Chat message type.
Returns: unicode
Text describing the chat message type.

ChatStatusToText(self, Status)

source code 
Returns chatr status as text.
Parameters:
  • Status (enums.chs*) - Chat status.
Returns: unicode
Text describing the chat status.

ConnectionStatusToText(self, Status)

source code 
Returns connection status as text.
Parameters:
  • Status (enums.con*) - Connection status.
Returns: unicode
Text describing the connection status.

GroupTypeToText(self, Type)

source code 
Returns group type as text.
Parameters:
  • Type (enums.grp*) - Group type.
Returns: unicode
Text describing the group type.

OnlineStatusToText(self, Status)

source code 
Returns online status as text.
Parameters:
  • Status (enums.ols*) - Online status.
Returns: unicode
Text describing the online status.

SmsMessageStatusToText(self, Status)

source code 
Returns SMS message status as text.
Parameters:
  • Status (enums.smsMessageStatus*) - SMS message status.
Returns: unicode
Text describing the SMS message status.

SmsMessageTypeToText(self, Type)

source code 
Returns SMS message type as text.
Parameters:
  • Type (enums.smsMessageType*) - SMS message type.
Returns: unicode
Text describing the SMS message type.

SmsTargetStatusToText(self, Status)

source code 
Returns SMS target status as text.
Parameters:
  • Status (enums.smsTargetStatus*) - SMS target status.
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: enums.apiAttach*
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: enums.bud*
Buddy status.

TextToCallStatus(self, Text)

source code 
Returns call status code.
Parameters:
  • Text (unicode) - Text, one of enums.cls*.
Returns: enums.cls*
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:
  • Text (unicode) - Text, one of enums.clt*.
Returns: enums.clt*
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:
  • Text (unicode) - Text, one of enums.cms*.
Returns: enums.cms*
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:
  • Text (unicode) - Text, one of enums.cme*.
Returns: enums.cme*
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:
  • Text (unicode) - Text, one of enums.con*.
Returns: enums.con*
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:
  • Text (unicode) - Text, one of enums.grp*.
Returns: enums.grp*
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:
  • Text (unicode) - Text, one of enums.ols*.
Returns: enums.ols*
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 enums.usex*.
Returns: enums.usex*
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:
  • Text (unicode) - Text, one of enums.cus*.
Returns: enums.cus*
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:
  • Text (unicode) - Text, one of enums.vms*.
Returns: enums.vms*
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:
  • Sex (enums.usex*) - User sex.
Returns: unicode
Text describing the user sex.

UserStatusToText(self, Status)

source code 
Returns user status as text.
Parameters:
  • Status (enums.cus*) - User status.
Returns: unicode
Text describing the user status.

VoicemailFailureReasonToText(self, Reason)

source code 
Returns voicemail failure reason as text.
Parameters:
  • Reason (enums.vmr*) - Voicemail failure reason.
Returns: unicode
Text describing the voicemail failure reason.

VoicemailStatusToText(self, Status)

source code 
Returns voicemail status as text.
Parameters:
  • Status (enums.vms*) - Voicemail status.
Returns: unicode
Text describing the voicemail status.

VoicemailTypeToText(self, Type)

source code 
Returns voicemail type as text.
Parameters:
  • Type (enums.vmt*) - Voicemail type.
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:
str