Package phones :: Module com_sanyomedia :: Class SanyoMedia
[show private | hide private]
[frames | no frames]

Class SanyoMedia

Known Subclasses:
Phone, Phone

Download and upload media (ringers/wallpaper) from Sanyo Phones
Method Summary
  __init__(self)
  getindex(self, location)
Get an index of files in a Sanyo directory
  getmedia(self, exts, result, key)
  getmediaindex(self, builtins, maps, results, key)
  getmediaindices(self, results)
  getmediaold(self, maps, result, key)
  getringtones(self, result)
  getsanyofilecontents(self, directory, fileindex)
Get file # index from directory # directory
  getwallpapers(self, result)

Class Variable Summary
int CAMERA_DIRECTORY = 1                                                                     
int FIRST_MEDIA_DIRECTORY = 2                                                                     
tuple imagelocations = ((300, 1, 1, 'images', 30), (300, 1, 0,...
int LAST_MEDIA_DIRECTORY = 3                                                                     
tuple ringerexts = ('.mid', '.qcp', '.mp3', '.m4a', '.pmd', '....
tuple wallpaperexts = ('.jpg', '.png', '.mp4', '.3g2', '.JPG')

Method Details

getindex(self, location)

Get an index of files in a Sanyo directory

getsanyofilecontents(self, directory, fileindex)

Get file # index from directory # directory

Class Variable Details

CAMERA_DIRECTORY

Type:
int
Value:
1                                                                     

FIRST_MEDIA_DIRECTORY

Type:
int
Value:
2                                                                     

imagelocations

Type:
tuple
Value:
((300, 1, 1, 'images', 30), (300, 1, 0, 'camera', 30))                 

LAST_MEDIA_DIRECTORY

Type:
int
Value:
3                                                                     

ringerexts

Type:
tuple
Value:
('.mid', '.qcp', '.mp3', '.m4a', '.pmd', '.bin')                       

wallpaperexts

Type:
tuple
Value:
('.jpg', '.png', '.mp4', '.3g2', '.JPG')                               

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