ArcGIS Runtime: How to identify the topmost feature across all feature layers?

ArcGIS Runtime: How to identify the topmost feature across all feature layers?

From ArcGIS Runtime Java API documentation, there is an&nbsp;<a href="https://developers.arcgis.com/java/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/GeoView.html#identifyLayersAsync(javafx.geometry.Point2D,%20double,%20boolean)" target="_blank">identifyLayersAsync() method</a>.

From ArcGIS Runtime Java API documentation, there is an identifyLayersAsync() method.

From documentation:

Asynchronously identifies the topmost visible geo-element in each identifiable layer attached to the map, near given screen point.

Is there a way to for ArcGIS Runtime to return a single geo-element belonging to any layer, such that it is the topmost element?

P.S. Also asked on gis.stackexchange.

Edit

I'm still having this problem. To rephrase it, I need to find out the feature (that belongs to any layer within a list of layers) that the user has clicked on. The feature returned must be feature that the user thought he/she has clicked on (based on visual judgement).

Additionally, the method must work for both maps and scenes.

I'm going to offer bounty on both sites. At this point I'm quite sure that the API doesn't do this out-of-the-box, so I'm looking for work-around solutions.

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

WPF and WinForms Will Run on .NET Core 3

If you haven't had a chance to explore the new capabilities of .NET Core 3, read along with an expert in the framework to discover what it brings to the table.

.NET or Java for Web Development

Developers are often in a dilemma when trying to choose between technologies for their projects. Comparing two or more is quite daunting and confusing at times. In this article, we will focus on comparing .NET and Java.

Java Fundamentals: Learn Java for absolute beginners |Simpliv

Java Fundamentals: Learn Java for absolute beginners