JIL widget system API specfication(Handset API)1.1 JIL Widget 系统API(终端侧API)1.1规范
1 Preface ................................5 1.1. About this Document ...............5 1.2. Who this document is for...........5 1.3. Readers Comments ..................5 1.4. Related Documents..................6 2 Technical Overview .....................7 2.1 Overview ...........................7 2.2 Exposed API Structure ..............7 2.3 Common Error Codes .................8 2.4 API Categorization .................8 3 API Specifications......................9 3.1 Widget .............................9 3.1.1 Object Widget .................. 9 3.2 Device .......13 3.2.1 Object Device.................. 13 3.2.2 Object AccountInfo............. 20 3.2.3 Object DeviceInfo.............. 21 3.2.4 Object DataNetworkInfo ........ 23 3.2.5 Object DeviceStateInfo ........ 25 3.2.6 Object AccelerometerInfo....... 28 3.2.7 Object Config ................. 29 3.2.8 Object File.................... 31 3.2.9 Object PositionInfo ........... 32 3.2.10 Object PowerInfo.............. 34 3.2.11 Object RadioInfo ............. 36 3.3 Messaging ..........................38 3.3.1 Object Messaging .............. 38 3.3.2 Object Account................. 45 3.3.3 Object Attachment.............. 46 3.3.4 Object Message ................ 47 3.3.5 Object MessageFolderTypes ..... 51 3.3.6 Object MessageQuantities ...... 52 3.3.7 Object MessageTypes ........... 52 3.4 Multimedia .........................52 3.4.1 Object Multimedia ............. 52 3.4.2 Object AudioPlayer ............ 52 3.4.3 Object Camera.................. 52 3.4.4 Object VideoPlayer ............ 52 3.5 PIM.................................52 3.5.1 Object PIM .................... 52 3.5.2 Object AddressBookItem ........ 52 3.5.3 Object CalendarItem............ 52 3.5.4 Object EventRecurrenceTypes ... 52 3.6 Telephony...........................52 3.6.1 Object Telephony............... 52 3.6.2 Object CallRecord ............. 52 3.6.3 Object CallRecordTypes ........ 52 3.7 Class WidgetManager ................52 4 API Support Levels .....................52 5 Network Resource and Handset API Interaction ..............................52 5.1 Overview ...........................52 5.2 Network Resource Interface..........52 5.3 Charging APIs ......................52 6 Abbreviations used in this document.....52 7 Revision Notes..........................52 7.1 Overview ...........................52 7.2 API Updates ........................52 Widget .................. 9 3.2 Device .......13 3.2.1 Object Device.................. 13 3.2.2 Object AccountInfo............. 20 3.2.3 Object DeviceInfo.............. 21 3.2.4 Object DataNetworkInfo ........ 23 3.2.5 Object DeviceStateInfo ........ 25 3.2.6 Object AccelerometerInfo....... 28 3.2.7 Object Config ................. 29 3.2.8 Object File.................... 31 3.2.9 Object PositionInfo ........... 32 3.2.10 Object PowerInfo.............. 34 3.2.11 Object RadioInfo ............. 36 3.3 Messaging ..........................38 3.3.1 Object Messaging .............. 38 3.3.2 Object Account................. 45 3.3.3 Object Attachment.............. 46 3.3.4 Object Message ................ 47 3.3.5 Object MessageFolderTypes ..... 51 3.3.6 Object MessageQuantities ...... 52 3.3.7 Object MessageTypes ........... 52 3.4 Multimedia .........................52 3.4.1 Object Multimedia ............. 52 3.4.2 Object AudioPlayer ............ 52 3.4.3 Object Camera.................. 52 3.4.4 Object VideoPlayer ............ 52 3.5 PIM.................................52 3.5.1 Object PIM .................... 52 3.5.2 Object AddressBookItem ........ 52 3.5.3 Object CalendarItem............ 52 3.5.4 Object EventRecurrenceTypes ... 52 3.6 Telephony...........................52 3.6.1 Object Telephony............... 52 3.6.2 Object CallRecord ............. 52 3.6.3 Object CallRecordTypes ........ 52 3.7 Class WidgetManager ................52 4 API Support Levels .....................52 5 Network Resource and Handset API Interaction ..............................52 5.1 Overview ...........................52 5.2 Network Resource Interface..........52 5.3 Charging APIs ......................52 6 Abbreviations used in this document.....52 7 Revision Notes..........................52 7.1 Overview ...........................52 7.2 API Updates ........................52
用户评论