tree: 8e54de24af56f81eb540c4416140bdae20c1b301 [path history] [tgz]
  1. meta/
  2. src/


Reviewed on: 2020-02-04

The element_proposer is a component that uses the ElementManager service to request that Elements get added to the session. A session can contain any number of ElementProposer components. Notably, a component runner may act as an ElementProposer.

ElementProposers commonly act as gateways to make software ecosystems available to a product. For example, a component acting as a voice assistant would propose elements in response to voice commands.

In this example, the fuchsia-pkg:// component is configured to use the ElementManager service. This is done by using the ElementManager protocol in the element_proposer.cml file.

Once the element proposer is started, it connects to the ElementManager service and attempts to add an element to the session. The element proposer can propose both v1 and v2 components the session.