qnx.invoke.InvokeTargetFilter

InvokeTargetFilter

Properties | Methods


Packageqnx.invoke
Classpublic class InvokeTargetFilter
InheritanceInvokeTargetFilter Inheritance Object

InvokeTargetFilter are returned in a InvokeTargetGetFilters. InvokeTargetFilter are used by InvokeTargetSetFilters.

Class information:
BlackBerry 10 Version: 10.2
Found in:  QNXDevice.ane

See also

qnx.system.Device



Public Properties

 PropertyDefined By
  actions : Array
[read-only] The actions for the filter.
InvokeTargetFilter
  exts : Array
[read-only] The file extensions of the filter.
InvokeTargetFilter
  types : Array
[read-only] Mime-types for the filter.
InvokeTargetFilter
  uris : Array
[read-only] The uris for the filter.
InvokeTargetFilter

Public Methods

 MethodDefined By
  
InvokeTargetFilter
  
addAction(action:String):void
Adds an action to the filter.
InvokeTargetFilter
  
addExt(extension:String):void
Adds a file extension to the filter
InvokeTargetFilter
  
addType(mimeType:String):void
Add a specified mime-type to the filter.
InvokeTargetFilter
  
addURI(uri:String):void
Add a uri to the filter.
InvokeTargetFilter

Property Detail

actions


actions:Array  [read-only]

The actions for the filter.

Valid values for this property can be found as constants in the InvokeAction class.


Implementation

public function get actions():Array

exts


exts:Array  [read-only]

The file extensions of the filter.


Implementation

public function get exts():Array

types


types:Array  [read-only]

Mime-types for the filter.


Implementation

public function get types():Array

uris


uris:Array  [read-only]

The uris for the filter.


Implementation

public function get uris():Array

Constructor Detail

InvokeTargetFilter()


public function InvokeTargetFilter()



Method Detail

addAction()


public function addAction(action:String):void

Adds an action to the filter.

Valid values for this property can be found as constants in the InvokeAction class.

Parameters

action:String — The action to be added.

addExt()


public function addExt(extension:String):void

Adds a file extension to the filter

Parameters

extension:String

addType()


public function addType(mimeType:String):void

Add a specified mime-type to the filter.

Parameters

mimeType:String — The mime-type to add.

addURI()


public function addURI(uri:String):void

Add a uri to the filter.

An example of a valid uri would be "file://" The " wildcard is also acceptable.

Parameters

uri:String — The uri to add.





comments powered by Disqus