Package phones :: Module com_audiovoxcdm8900 :: Class Profile
[hide private]
[frames] | no frames]

Class Profile

source code

       object --+    
                |    
com_phone.Profile --+
                    |
                   Profile

Instance Methods [hide private]
 
_getgroup(self, name, groups) source code
 
normalisegroups(self, helper, data)
Assigns groups based on category data
source code
 
convertphonebooktophone(self, helper, data)
Converts the data to what will be used by the phone
source code
 
phonize(self, str)
Convert the phone number into something the phone understands
source code

Inherited from com_phone.Profile: GetImageOrigins, GetTargetsForImageOrigin, QueryAudio, SyncQuery, __init__

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

Class Variables [hide private]
  protocolclass
Various descriptions of data specific to Audiovox CDM8900
  serialsname = 'audiovoxcdm8900'
  WALLPAPER_WIDTH = 128
  WALLPAPER_HEIGHT = 145
  WALLPAPER_CONVERT_FORMAT = 'jpg'
  MAX_WALLPAPER_BASENAME_LENGTH = 16
  WALLPAPER_FILENAME_CHARS = "abcdefghijklmnopqrstuvwxyz01234567...
  MAX_RINGTONE_BASENAME_LENGTH = 16
  RINGTONE_FILENAME_CHARS = "abcdefghijklmnopqrstuvwxyz012345678...
  usbids = ((4204, 8449, 1))
  deviceclasses = ('modem')
  _supportedsyncs = (('phonebook', 'read', None), ('phonebook', ...

Inherited from com_phone.Profile: BP_Calendar_Version, DIALSTRING_CHARS, autodetect_delay, excluded_ringtone_origins, excluded_wallpaper_origins, field_color_data, imageorigins, reboot_delay, ringtoneorigins, stockimageorigins, stockimagetargets

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

convertphonebooktophone(self, helper, data)

source code 

Converts the data to what will be used by the phone

Parameters:
  • data - contains the dict returned by getfundamentals as well as where the results go

phonize(self, str)

source code 

Convert the phone number into something the phone understands

All digits, P, T, *, # are kept, everything else is removed. In theory the phone can store a dash in the phonebook, but that is not normal.

Overrides: com_phone.Profile.phonize

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to Audiovox CDM8900

Value:
phones.p_audiovoxcdm8900

WALLPAPER_FILENAME_CHARS

Value:
"abcdefghijklmnopqrstuvwxyz0123456789 ."

RINGTONE_FILENAME_CHARS

Value:
"abcdefghijklmnopqrstuvwxyz0123456789 ."

_supportedsyncs

Value:
(('phonebook', 'read', None), ('phonebook', 'write', 'OVERWRITE'))