MediaTracker.statusID

MediaTracker.statusID

Class Overview | Class Members | This Package | All Packages

Syntax
public int statusID( int id, boolean load )
Parameters
id
the identifier of the images to check.
load
if true, start loading any images that are not yet being loaded.
Returns
the bitwise inclusive OR of the status of all of the media with the specified identifier that are being tracked.
Description
Calculates and returns the bitwise inclusive OR of the status of all media with the specified identifier that are tracked by this media tracker.

Possible flags defined by the MediaTracker class are LOADING, ABORTED, ERRORED, and COMPLETE. An image that hasn't started loading has zero as its status.

If the value of load is true, then this method starts loading any images that are not yet being loaded.

See Also
statusAll, LOADING, ABORTED, ERRORED, COMPLETE