Gets the image with the specified name.
<void> ImageCollection.getItemByName(<RequestImageCallback> callback, [<ErrorCallback> errorCallback], <string> name)
Parameter | Description |
---|---|
callback | Receives the requested image or null if no image with the specified name exists. |
error |
Optional. Is called when the operation failed with an error. |
name | The image's name. |