BackgroundTasks
A collection of background task objects.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
BackgroundTask [] (index:Number)
Returns the BackgroundTask with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
BackgroundTask anyItem ()
Returns any BackgroundTask in the collection.
Number count ()
Displays the number of elements in the BackgroundTask.
BackgroundTask everyItem ()
Returns every BackgroundTask in the collection.
BackgroundTask firstItem ()
Returns the first BackgroundTask in the collection.
BackgroundTask item (index:Varies LongInteger String)
Returns the BackgroundTask with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
BackgroundTask itemByID (id:Number)
Returns the BackgroundTask with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
BackgroundTask itemByName (name:String)
Returns the BackgroundTask with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
BackgroundTask itemByRange (from:Varies BackgroundTask LongInteger String, to:Varies BackgroundTask LongInteger String)
Returns the BackgroundTasks within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The BackgroundTask, index, or name at the beginning of the range. Can accept: BackgroundTask, Long Integer or String. |
to |
LongInteger |
The BackgroundTask, index, or name at the end of the range. Can accept: BackgroundTask, Long Integer or String. |
BackgroundTask lastItem ()
Returns the last BackgroundTask in the collection.
BackgroundTask middleItem ()
Returns the middle BackgroundTask in the collection.
BackgroundTask nextItem (obj:BackgroundTask)
Returns the BackgroundTask whose index follows the specified BackgroundTask in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The BackgroundTask whose index comes before the desired BackgroundTask. |
BackgroundTask previousItem (obj:BackgroundTask)
Returns the BackgroundTask with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the BackgroundTask that follows the desired BackgroundTask. |
String toSource ()
Generates a string which, if executed, will return the BackgroundTask.
Object of
Application.backgroundTasks