ORG.BLUEZ.OBEX.PHONEBOOKACCESS(5) | Linux System Administration | ORG.BLUEZ.OBEX.PHONEBOOKACCESS(5) |
NAME¶
org.bluez.obex.PhonebookAccess - BlueZ D-Bus OBEX PhonebookAccess API documentation
INTERFACE¶
- Service
- org.bluez.obex
- Interface
- org.bluez.obex.PhonebookAccess1
- Object path
- [Session object path]
Methods¶
void Select(string location, string phonebook)¶
Possible location values:
- "int", "internal" (default)
- Store in the Internal memory.
- "sim{#}"
- Store in the sim number.
Possible phonebook values:
- "pb"
- Store as contact.
- "ich"
- Store as incoming call.
- "och"
- Store as outgoing call.
- "mch"
- Store as missing call.
- "cch"
- Store as a combination of incoming, outgoing and missing call.
"spd":
"fav":
Possible errors:
object, dict PullAll(string targetfile, dict filters)¶
If an empty target file is given, a name will be automatically generated for the temporary file.
The returned path represents the newly created transfer, which should be used to find out if the content has been successfully transferred or if the operation fails.
The properties of this transfer are also returned along with the object path, to avoid a call to GetProperties, see org.bluez.obex.Transfer(5) for the possible list of properties.
Possible filters:
- string Format
- Items vcard format.
Possible values:
- "vcard21" (default)
- "vcard30"
- string Order
- Items order.
Possible values:
- ""
- "indexed"
- "alphanumeric"
- "phonetic"
- uint16 Offset (default 0)
- Offset of the first item.
- uint16 MaxCount (default 65535)
- Maximum number of items.
- array{string} Fields (default all fields)
- Item vcard fields.
See ListFilterFields() for possible values.
- array{string} FilterAll
- Filter items by fields using AND logic, cannot be used together with
FilterAny.
See ListFilterFields() for possible values.
- array{string} FilterAny
- Filter items by fields using OR logic, cannot be used together with
FilterAll.
See ListFilterFields() for possible values.
- bool ResetNewMissedCalls
- Reset new the missed calls items, shall only be used for folders mch and cch.
Possible errors:
array{string vcard, string name} List(dict filters)¶
- "1.vcf"
- "John"
Possible filters:
- string Order
- Contact order.
Possible values:
- ""
- "indexed"
- "alphanumeric"
- "phonetic"
- uint16 Offset
- Start offset.
- uint16 MaxCount
- Maximum number of contacts.
Possible errors:
object, dict Pull(string vcard, string targetfile, dict filters)¶
If an empty target file is given, a name will be automatically generated for the temporary file.
The returned path represents the newly created transfer, which should be used to find out if the content has been successfully transferred or if the operation fails.
The properties of this transfer are also returned along with the object path, to avoid a call to GetProperties, see org.bluez.obex.Transfer(5) for the possible list of properties.
Possible filters:
- string Format
- Contact data format.
Possible values:
- ""
- "vcard21"
- "vcard30"
- array{string} Fields
- See ListFilterFields() for possible values.
Possible errors:
array{string vcard, string name} Search(string field, string value, dict filters)¶
Possible field values:
- "name" (default)
- Search by name.
- "number"
- Search by number.
- "sound"
- Search by sound.
value: the string value to search for
Possible filters:
- string Order
- Contact order.
Possible values:
- ""
- "indexed"
- "alphanumeric"
- "phonetic"
- uint16 Offset
- Start offset.
- uint16 MaxCount
- Maximum number of contacts.
Possible errors:
uint16 GetSize()¶
Possible errors:
void UpdateVersion()¶
Possible errors:
array{string} ListFilterFields()¶
Possible return:
- "VERSION"
- "FN"
- "N"
- "PHOTO"
- "BDAY"
- "ADR"
- "LABEL"
- "TEL"
- "EMAIL"
- "MAILER"
- "TZ"
- "GEO"
- "TITLE"
- "ROLE"
- "LOGO"
- "AGENT"
- "ORG"
- "NOTE"
- "REV"
- "SOUND"
- "URL"
- "UID"
- "KEY"
- "NICKNAME"
- "CATEGORIES"
- "PROID"
- "CLASS"
- "SORT-STRING"
- "X-IRMC-CALL-DATETIME"
- "X-BT-SPEEDDIALKEY"
- "X-BT-UCI"
- "X-BT-UID"
- "BIT-{#}"
Possible errors: None
Properties¶
string Folder [readonly]¶
string DatabaseIdentifier [readonly, optional]¶
Possible values:
string PrimaryCounter [readonly, optional]¶
Possible values:
string SecondaryCounter [readonly, optional]¶
Possible values:
bool FixedImageSize [readonly, optional]¶
Possible values:
October 2023 | BlueZ |