<filter>

(Required) The target filter.

Parent elements:

<invoke-target>

Child elements:

Name Cardinality
action At minimum, one occurrence
mime-type At minimum, one occurrence
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. Clients 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>
 
comments powered by Disqus