ee.ImageCollection.evaluate
Asynchronously retrieves the value of this object from the server and passes it to the provided callback function.
Usage | Returns |
---|
ImageCollection.evaluate(callback) | |
Argument | Type | Details |
---|
this: computedobject | ComputedObject | The ComputedObject instance. |
callback | Function | A function of the form function(success, failure), called when the server returns an answer. If the request succeeded, the success argument contains the evaluated result. If the request failed, the failure argument will contains an error message. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["`ImageCollection.evaluate()` retrieves the value of the ComputedObject from the server."],["The retrieved value is then passed to a user-defined callback function, which handles success or failure."],["The callback function takes two arguments: `success` for the result if the request succeeds and `failure` for an error message if it fails."]]],["The function asynchronously fetches a ComputedObject's value from the server. It uses a callback function with `success` and `failure` arguments. If successful, `success` holds the evaluated result; otherwise, `failure` provides an error message. This function is called on an `ImageCollection` with no return value. The `callback` is executed upon receiving a response from the server.\n"]]