0

I am trying to understand various available AGL specific options that we can give in config.xml and I am referring to the link below

https://docs.automotivelinux.org/docs/en/halibut/apis_services/reference/af-main/2.2-config.xml.html

This is the sample config.xml file

<feature name="urn:AGL:widget:required-api">
<param name="#target" value="main" />
<param name="gps" value="auto" />
<param name="afm-main" value="link" />
</feature>

what is the need for <param name="#target" value="main" /> and what it meant?

1 Answer 1

0

I figured out why we need this

required-api: param name="#target"

OPTIONAL(not compulsory)

It declares the name of the unit(in question it is main) requiring the listed apis. Only one instance of the param “#target” is allowed. When there is not instance of this param, it behave as if the target main was specified.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.