<filter>

(Required) The target filter.

Parent elements:

<invoke-target>

Child elements:

Name Cardinality
action At minimum, one instance
mime-type At minimum, one instance
property Any number

Description:

The <filter> element specifies the target filter. For each target, filters must be declared to describe the kinds of unbound invocation they support. Each filter defines the associated action performed for MIME types that match the filter. Client apps perform unbound invocation by sending the invocation without specifying a target. Unbound invocations should generally provide an action, but must provide either a MIME type, URI, or both.

Content:

None.

Attributes:

None.

Example:

<qnx>
...
...
<action system="true">run_native</action>

   <invoke-target id="com.mycompany.pdf.viewer">
      <invoke-target-type>viewer</invoke-target-type>
      <filter>
         <action>bb.action.VIEW</action>
         <action>bb.action.EDIT</action>
         <mime-type>application/pdf</mime-type>
         <mime-type>application/x-pdf</mime-type>
      </filter>
   </invoke-target>
            
...
...
</qnx>
 

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus