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

Type Profile

object --+    
         |    
   Profile --+
             |
            Profile


Method Summary
  convertphonebooktophone(self, helper, data)
Converts the data to what will be used by the phone
  normalisegroups(self, helper, data)
Assigns groups based on category data
  phonize(self, str)
Convert the phone number into something the phone understands
    Inherited from Profile
  __init__(self)
  GetImageOrigins(self)
  GetTargetsForImageOrigin(self, origin)
  QueryAudio(self, origin, currentextension, audiofileinfo)
Query for MP3 file support
  SyncQuery(self, source, action, actiontype)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
tuple deviceclasses = ('modem',)
int MAX_RINGTONE_BASENAME_LENGTH = 16                                                                    
int MAX_WALLPAPER_BASENAME_LENGTH = 16                                                                    
str RINGTONE_FILENAME_CHARS = 'abcdefghijklmnopqrstuvwxyz012...
str serialsname = 'audiovoxcdm8900'
tuple usbids = ((4204, 8449, 1),)
str WALLPAPER_CONVERT_FORMAT = 'jpg'
str WALLPAPER_FILENAME_CHARS = 'abcdefghijklmnopqrstuvwxyz01...
int WALLPAPER_HEIGHT = 145                                                                   
int WALLPAPER_WIDTH = 128                                                                   
    Inherited from Profile
int autodetect_delay = 0                                                                     
int BP_Calendar_Version = 2                                                                     
str DIALSTRING_CHARS = '[^0-9PT#*]'
tuple excluded_ringtone_origins = ()
tuple excluded_wallpaper_origins = ('video',)
dict field_color_data = {'todo': {'status': None, 'due_date':...
dict imageorigins = {'images': {'meta-help': 'General images'...
int reboot_delay = 0                                                                     
tuple ringtoneorigins = ()
dict stockimageorigins = {'images(sd)': {'meta-help': 'Genera...
dict stockimagetargets = {'outsidelcd': {'meta-help': 'Displa...

Method Details

convertphonebooktophone(self, helper, data)

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

normalisegroups(self, helper, data)

Assigns groups based on category data

phonize(self, str)

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:
phones.com_phone.Profile.phonize

Class Variable Details

deviceclasses

Type:
tuple
Value:
('modem',)                                                             

MAX_RINGTONE_BASENAME_LENGTH

Type:
int
Value:
16                                                                    

MAX_WALLPAPER_BASENAME_LENGTH

Type:
int
Value:
16                                                                    

RINGTONE_FILENAME_CHARS

Type:
str
Value:
'abcdefghijklmnopqrstuvwxyz0123456789 .'                               

serialsname

Type:
str
Value:
'audiovoxcdm8900'                                                      

usbids

Type:
tuple
Value:
((4204, 8449, 1),)                                                     

WALLPAPER_CONVERT_FORMAT

Type:
str
Value:
'jpg'                                                                  

WALLPAPER_FILENAME_CHARS

Type:
str
Value:
'abcdefghijklmnopqrstuvwxyz0123456789 .'                               

WALLPAPER_HEIGHT

Type:
int
Value:
145                                                                   

WALLPAPER_WIDTH

Type:
int
Value:
128                                                                   

Generated by Epydoc 2.1 on Fri Aug 15 18:58:37 2008 http://epydoc.sf.net