|
API Guide Home (Online version only) |
![]() |
Definition in file FavoritesDBLib.h.
Go to the source code of this file.
List of different views in the phone applications.
| favDBLibPhoneViewCallLog | call log view |
| favDBLibPhoneViewDialPad | dial pad view |
| favDBLibPhoneViewContacts | contacts view |
Definition at line 19 of file FavoritesDBLib.h.
00020 { 00021 favDBLibPhoneViewCallLog = 0, /**< call log view */ 00022 favDBLibPhoneViewDialPad, /**< dial pad view */ 00023 favDBLibPhoneViewContacts /**< contacts view */ 00024 } FavDBLibPhoneViewEnum;
Standard library close function
| refNum,: | IN: Favorites DB library reference number (from SysLibFind()/SysLibLoad()) |
| Err | Error code. |
Get the unique ID of an entry given the record index in the Favorites DB.
| refNum,: | IN: library reference number. | |
| index,: | IN: index of the record to get unique id from. | |
| uniqueIdP,: | OUT: unique ID of the record. |
| Err | Error code. |
Get the label from the favorite item given the record index.
| refNum,: | IN: library reference number. | |
| index,: | IN: index of the record to get label from. | |
| labelPP,: | OUT: pointer to the label string. |
| Boolean | True if found. Otherwise, false. |
| Boolean FavDBLibGetSpeedDialInfo | ( | UInt16 | refNum, | |
| UInt16 | index, | |||
| CharPtr * | numberPP, | |||
| CharPtr * | extraDigitsPP, | |||
| BooleanPtr | autoExtraDigitsP, | |||
| BooleanPtr | isVoicemailP | |||
| ) |
Get full info about the favorite phone number given the record index.
| refNum,: | IN: library reference number. | |
| index,: | IN: index of the item in the DB. | |
| numberPP,: | OUT: pointer to the speed dial phone number. | |
| extraDigitsPP,: | OUT: pointer to the extra digits in the phone number. | |
| autoExtraDigitsP,: | OUT: if true, extra digits are auto-dialed. | |
| isVoicemailP,: | OUT: if true, phone number is a voicemail number. |
| Boolean | True if found. |
Determine whether item with keyId is in the favorites DB.
| refNum,: | IN: library reference number. | |
| keyId,: | IN: unique id of the item whose info is to be obtained. | |
| existsP,: | OUT: true if item is found among favorites. |
| Err | Error code. |
no definition.
| refNum,: | IN: library reference number. | |
| keyP,: | IN: no definition. | |
| nameP,: | OUT: no definition. |
| Boolean | True if found. |
| Err FavDBLibNewAppFavorite | ( | UInt16 | refNum, | |
| Word | position, | |||
| CharPtr | labelP, | |||
| WChar | quickKey, | |||
| Word | flags, | |||
| UInt32 | appCreator, | |||
| WordPtr | indexP | |||
| ) |
Create a new favorite application entry.
| refNum,: | IN: library reference number. | |
| position,: | IN: position of the new favorite app in the entries. | |
| labelP,: | IN: pointer to the label of the newly created entry. | |
| quickKey,: | IN: shortcut used to start favorite app. | |
| flags | IN: no definition. | |
| appCreator | IN: Creator ID of the new favorite app. | |
| indexP | OUT: index of the new entry in the DB. |
| Err | Error code. |
| Err FavDBLibNewEmailFavorite | ( | UInt16 | refNum, | |
| Word | position, | |||
| CharPtr | labelP, | |||
| WChar | quickKey, | |||
| Word | flags, | |||
| CharPtr | contactIdP, | |||
| WordPtr | indexP | |||
| ) |
Create a new favorite email entry.
| refNum,: | IN: library reference number. | |
| position,: | IN: position of the new favorite email in the entries. | |
| labelP,: | IN: pointer to the label of the newly created entry. | |
| quickKey,: | IN: shortcut used to start sending email to the new favorite . | |
| flags,: | IN: no definition. | |
| contactIdP,: | IN: Email address in string. | |
| indexP,: | OUT: index of the new entry in the DB. |
| Err | Error code. |
| Err FavDBLibNewMsgFavorite | ( | UInt16 | refNum, | |
| Word | position, | |||
| CharPtr | labelP, | |||
| WChar | quickKey, | |||
| Word | flags, | |||
| CharPtr | contactIdP, | |||
| WordPtr | indexP | |||
| ) |
Create a new favorite messaging destination.
| refNum,: | IN: library reference number. | |
| position,: | IN: position of the new favorite contact in the entries. | |
| labelP,: | IN: pointer to the label of the newly created entry. | |
| quickKey,: | IN: shortcut used to start composing message to the contact. | |
| flags,: | IN: No definition. | |
| contactIdP | IN: Mobile number/ Email address of the new favorites messaging contact. | |
| indexP | OUT: index of the new entry in the DB. |
| Err | Error code. |
| Err FavDBLibNewPhoneFavorite | ( | UInt16 | refNum, | |
| Word | position, | |||
| CharPtr | labelP, | |||
| WChar | quickKey, | |||
| Word | flags, | |||
| CharPtr | numberP, | |||
| CharPtr | extraDigitsP, | |||
| Boolean | autoDialExtraDigits, | |||
| UInt32 | ringID, | |||
| UInt16 | ringToneType, | |||
| WordPtr | indexP | |||
| ) |
Create a new favorite phone number.
| refNum,: | IN: library reference number. | |
| position,: | IN: position of the new favorite phone number in the entries. | |
| labelP,: | IN: pointer to the label of the newly created entry. | |
| quickKey,: | IN: shortcut used to call the number. | |
| flags,: | IN: no definition. | |
| numberP,: | IN: New favorite phone number in string. | |
| extraDigitsP,: | IN: Extra digits. | |
| autoDialExtraDigits,: | IN: Always include extra digit when dialing if true. | |
| ringID,: | IN: Ring tone ID for this number. | |
| ringToneType,: | IN: Ring tone type for this number. | |
| indexP,: | OUT: index of the new entry in the DB. |
| Err | Error code. |
| Err FavDBLibNewPhoneViewFavorite | ( | UInt16 | refNum, | |
| Word | position, | |||
| CharPtr | labelP, | |||
| WChar | quickKey, | |||
| Word | flags, | |||
| UInt16 | phoneView, | |||
| WordPtr | indexP | |||
| ) |
Create a new favorite phone app view.
| refNum,: | IN: library reference number. | |
| position,: | IN: position of the new favorite in the entries. | |
| labelP,: | IN: pointer to the label of the newly created entry. | |
| quickKey,: | IN: shortcut used to launch phone app in the favorite view. | |
| flags,: | IN: no definition. | |
| phoneView,: | IN: See FavDBLibPhoneViewEnum for values. | |
| indexP,: | OUT: index of the new entry in the DB. |
| Err | Error code. |
| Err FavDBLibNewWebFavorite | ( | UInt16 | refNum, | |
| Word | position, | |||
| CharPtr | labelP, | |||
| WChar | quickKey, | |||
| Word | flags, | |||
| CharPtr | urlP, | |||
| WordPtr | indexP | |||
| ) |
Create a new favorite URL.
| refNum,: | IN: library reference number. | |
| position,: | IN: position of the new favorite URL. | |
| labelP,: | IN: pointer to the label of the newly created entry. | |
| quickKey,: | IN: shortcut used to launch the URL. | |
| flags,: | IN: no definition. | |
| urlP,: | IN: the URL in string. | |
| indexP,: | OUT: index of the new entry in the DB. |
| Err | Error code. |
Standard library open function
| refNum,: | IN: Favorites DB library reference number (from SysLibFind()/SysLibLoad()) |
| Err | Error code. |
| CharPtr FavDBLibResolveAddress | ( | UInt16 | refNum, | |
| CharPtr | addressP, | |||
| Word | kind | |||
| ) |
No definition.
| refNum,: | IN: library reference number. | |
| addressP,: | IN: pointer to the address string to be resolved. | |
| kind,: | IN: no definition. |
| CharPtr | no definition. |
| Boolean FavDBLibSeekSpeedDialRecord | ( | UInt16 | refNum, | |
| UInt16 * | indexP, | |||
| Int16 | offset, | |||
| Int16 | direction | |||
| ) |
No definition.
| refNum,: | IN: library reference number. | |
| indexP,: | IN,OUT: no definition. | |
| offset,: | IN: offset in the DB record indeces to start search from. | |
| direction,: | IN: Forward/backward search from offset. |
| Boolean | True if found. Otherwise, false. |
Standard library sleep function
| refNum,: | IN: Favorites DB library reference number (from SysLibFind()/SysLibLoad()) |
| Err | Error code. |
Standard library wake function
| refNum,: | IN: Favorites DB library reference number (from SysLibFind()/SysLibLoad()) |
| Err | Error code. |
| Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:06:57 2008 for Palm API Guide |