Target Collection Resources can either retrieve image targets from a .wtc file or object targets from a .wto file. The file can be loaded eitherfrom the application bundle or a remote server. If the file was loaded from a server, no internet connection is required anymore after the loading finished successfully.
public sealed class TargetCollectionResource
Causes the target collection resource to cancel any ongoing load operation.
public void cancelLoading()
Returns the URL that will be used to locate and load the file.
public string getUrl()
Returns if the target collection resource is currently loading, or if it already finished (successfully or not) In case load was not called yet, this method also returns false.
public bool isLoading()
Use this method to start the actual loading process of the resource.
public void load(LoadCompletionHandler handler_)
A completion delegate that is called in case the resource is available or failed loading.