2011-10-12 12:35:25 +00:00
|
|
|
Handsfree hierarchy
|
|
|
|
===================
|
|
|
|
|
|
|
|
Service org.ofono
|
|
|
|
Interface org.ofono.Handsfree
|
|
|
|
Object path [variable prefix]/{modem0,modem1,...}
|
|
|
|
|
|
|
|
Methods dict GetProperties()
|
|
|
|
|
|
|
|
Returns properties for the Handsfree Interface. See the
|
|
|
|
properties section for available properties.
|
|
|
|
|
|
|
|
void SetProperty(string property, variant value)
|
|
|
|
|
|
|
|
Changes the value of the specified property. Only
|
|
|
|
properties that are listed as readwrite are
|
|
|
|
changeable. On success a PropertyChanged signal
|
|
|
|
will be emitted.
|
|
|
|
|
|
|
|
Possible Errors: [service].Error.InProgress
|
|
|
|
[service].Error.InvalidArguments
|
2014-01-20 04:03:53 +00:00
|
|
|
[service].Error.NotImplemented
|
|
|
|
[service].Error.NotSupported
|
2011-10-12 12:35:25 +00:00
|
|
|
|
2011-10-12 12:35:28 +00:00
|
|
|
string RequestPhoneNumber()
|
|
|
|
|
|
|
|
Request a phone number from the AG, corresponding to the
|
|
|
|
last voice tag recorded in the HF. The AG may accept or
|
|
|
|
reject this request depending on its internal state.
|
|
|
|
|
|
|
|
This functionality is generally implemented by using
|
|
|
|
the +BINP=1 AT command.
|
|
|
|
|
|
|
|
Possible Errors: [service].Error.InProgress
|
|
|
|
[service].Error.InvalidArguments
|
|
|
|
[service].Error.Failed
|
|
|
|
|
2011-10-12 12:35:25 +00:00
|
|
|
Signals PropertyChanged(string property, variant value)
|
|
|
|
|
|
|
|
Signal is emitted whenever a property has changed.
|
|
|
|
The new value is passed as the signal argument.
|
|
|
|
|
2011-10-21 16:51:29 +00:00
|
|
|
Properties array{string} Features [readonly]
|
|
|
|
|
|
|
|
List of features supported by the AG. The currently
|
|
|
|
supported values are:
|
|
|
|
"voice-recognition"
|
|
|
|
"attach-voice-tag"
|
2013-04-23 17:21:37 +00:00
|
|
|
"echo-canceling-and-noise-reduction"
|
2014-03-17 15:47:26 +00:00
|
|
|
"three-way-calling"
|
|
|
|
"release-all-held"
|
|
|
|
"release-specified-active-call"
|
|
|
|
"private-chat"
|
|
|
|
"create-multiparty"
|
|
|
|
"transfer"
|
2014-01-20 04:04:53 +00:00
|
|
|
"hf-indicators"
|
2011-10-21 16:51:29 +00:00
|
|
|
|
|
|
|
boolean InbandRinging [readonly]
|
2011-10-12 12:35:25 +00:00
|
|
|
|
|
|
|
Boolean representing whether inband ringing is enabled.
|
2011-10-20 16:38:07 +00:00
|
|
|
|
|
|
|
boolean VoiceRecognition [readwrite]
|
|
|
|
|
|
|
|
Boolean representing whether voice recognition is
|
|
|
|
currently active in the AG. This property may be written
|
|
|
|
to activate or deactivate the function from the HF, or
|
|
|
|
the AG could autonomously initiate it.
|
2012-12-17 15:25:17 +00:00
|
|
|
|
2014-01-20 04:03:53 +00:00
|
|
|
boolean EchoCancelingNoiseReduction [readwrite, optional]
|
2013-04-23 17:21:37 +00:00
|
|
|
|
|
|
|
Non-persistent Boolean property representing whether
|
|
|
|
echo canceling and noise reduction is enabled in the
|
|
|
|
AG. This feature can only be disabled once from the
|
|
|
|
HF unit; the current specification does not allow the
|
|
|
|
HF unit from enabling this feature on the AG once
|
|
|
|
it has been disabled.
|
|
|
|
|
2012-12-17 15:25:17 +00:00
|
|
|
byte BatteryChargeLevel [readonly]
|
|
|
|
|
|
|
|
The current charge level of the battery. The value
|
|
|
|
can be between 0 and 5 respectively.
|
2014-04-08 08:21:44 +00:00
|
|
|
|
|
|
|
array{string} SubscriberNumbers [readonly]
|
|
|
|
|
|
|
|
List of subscriber numbers provided by the AG.
|
2014-01-20 04:05:49 +00:00
|
|
|
|
|
|
|
boolean DistractedDrivingReduction [readwrite, optional]
|
|
|
|
|
|
|
|
Non-persistent property representing whether
|
|
|
|
distracted driving reduction mode should be enabled in
|
|
|
|
the AG. Support for this feature is optional on the
|
|
|
|
AG.
|