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

Class Profile

source code

       object --+                
                |                
com_phone.Profile --+            
                    |            
 com_lgvx4400.Profile --+        
                        |        
     com_lgvx7000.Profile --+    
                            |    
         com_lgvx8100.Profile --+
                                |
                               Profile

Instance Methods [hide private]
 
GetImageOrigins(self) source code
 
GetTargetsForImageOrigin(self, origin) source code
 
QueryAudio(self, origin, currentextension, afi)
Query for MP3 file support
source code
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from com_lgvx4400.Profile: convertphonebooktophone, normalisegroups

Inherited from com_lgvx4400.Profile (private): _getgroup

Inherited from com_phone.Profile: SyncQuery, phonize

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

Class Variables [hide private]
  protocolclass
Various descriptions of data specific to LG VX8000
  serialsname = 'lgax8600'
  BP_Calendar_Version = 3
  phone_manufacturer = 'LG Electronics Inc'
  phone_model = 'AX8600'
  WALLPAPER_WIDTH = 176
  WALLPAPER_HEIGHT = 220
  MAX_WALLPAPER_BASENAME_LENGTH = 32
  WALLPAPER_FILENAME_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh...
  WALLPAPER_CONVERT_FORMAT = "jpg"
  DIALSTRING_CHARS = "[^0-9PW#*]"
  MAX_RINGTONE_BASENAME_LENGTH = 32
  RINGTONE_FILENAME_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi...
  RINGTONE_LIMITS = {'MAXSIZE': 200000}
  imageorigins = {'images': {'meta-help': 'General images'}}
  imagetargets = {'wallpaper': {'format': 'JPEG', 'height': 220,...
  ringtoneorigins = 'ringers', 'sounds'
  excluded_ringtone_origins = 'ringers'
  excluded_wallpaper_origins = 'video'
  _supportedsyncs = (('phonebook', 'read', None), ('calendar', '...
  field_color_data = {'calendar': {'alarm': True, 'allday': Fals...

Inherited from com_lgvx8100.Profile: bluetooth_mfg_id

Inherited from com_lgvx4400.Profile: brew_required, deviceclasses, usbids, usbids_straight, usbids_usbtoserial

Inherited from com_phone.Profile: autodetect_delay, reboot_delay, stockimageorigins, stockimagetargets

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

GetImageOrigins(self)

source code 
Overrides: com_phone.Profile.GetImageOrigins

GetTargetsForImageOrigin(self, origin)

source code 
Overrides: com_phone.Profile.GetTargetsForImageOrigin

QueryAudio(self, origin, currentextension, afi)

source code 

Query for MP3 file support

Raise an exception if you cannot support the ringtone or any conversion of it.

Parameters:
  • audiofileinfo - A fileinfo.AudioFileInfo object specifying file's audio properties
  • currentextension - The extension currently used by the file
Returns:
("file extension", audiofile object). The file extension (excluding the leading dot) to make the file use. The audiofile object can be what was passed in unaltered meaning the file is fine as is, or make a new one to specify how the file should be converted. Note there is a MAXSIZE attribute if you need to limit file size.
Overrides: com_phone.Profile.QueryAudio
(inherited documentation)

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to LG VX8000

Value:
phones.p_lgax8600

WALLPAPER_FILENAME_CHARS

Value:
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_() .'

RINGTONE_FILENAME_CHARS

Value:
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_() .'

imagetargets

Value:
{'wallpaper': {'format': 'JPEG',
               'height': 220,
               'meta-help': 'Display as wallpaper',
               'width': 176}}

_supportedsyncs

Value:
(('phonebook', 'read', None),
 ('calendar', 'read', None),
 ('wallpaper', 'read', None),
 ('ringtone', 'read', None),
 ('call_history', 'read', None),
 ('memo', 'read', None),
 ('phonebook', 'write', 'OVERWRITE'),
 ('calendar', 'write', 'OVERWRITE'),
...

field_color_data

Value:
{'calendar': {'alarm': True,
              'allday': False,
              'category': False,
              'description': True,
              'end': True,
              'location': False,
              'memo': False,
              'priority': False,
...