TaskArguments
The TaskArguments object is an instance object, and is used as a parameter to the invoke() method when invoking the Tasks application.
Configuration Document Settings
To use all of the API described for this object, you must ensure the following settings are in your configuration document:
|
You must declare the feature element(s) below in your configuration document:
|
Feature ID | BB5.0 | BB6.0 | BB7.0 | PB1.0 | PB2.0 | BB10 | Ripple |
<feature id="blackberry.invoke" />
| Y |
Y |
Y |
|
|
| Y |
<feature id="blackberry.invoke.TaskArguments" />
| Y |
Y |
Y |
|
|
| Y |
<feature id="blackberry.pim.Task" />
| Y |
Y |
Y |
|
|
| Y |
Permission Elements (PlayBook and BlackBerry 10+) |
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application.
|
Constructors
blackberry.invoke.TaskArguments
([task : blackberry.pim.Task])
The TaskArguments object must be created as an instance using the new keyword.
Supported Platforms
|
|
- BlackBerry OS 5.0+
|
|
- Ripple Emulator
|
Parameters
|
task |
Task to view in Tasks application.
|
Code Example:
<script type="text/javascript">
var task= new blackberry.pim.Task();
task.summary = 'Pick it up';
var args = new blackberry.invoke.TaskArguments(task);
args.view = 0;
blackberry.invoke.invoke(blackberry.invoke.APP_TASKS, args);
</script>
|
Properties
Number
view
Value that specifies what kind of view you want to view the task in Tasks application.
Supported Platforms
|
|
- BlackBerry OS 5.0+
|
|
- Ripple Emulator
|
Constants
static
Number
VIEW_NEW
New View
Supported Platforms
|
|
- BlackBerry OS 5.0+
|
|
- Ripple Emulator
|
static
Number
VIEW_EDIT
Edit View
Supported Platforms
|
|
- BlackBerry OS 5.0+
|
|
- Ripple Emulator
|
Documentation generated by
JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:44 GMT-0500 (EST)