Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.symbology
Class SymbolStyleSearchResult
java.lang.Object
com.esri.arcgisruntime.symbology.SymbolStyleSearchResult
- All Implemented Interfaces:
RemoteResource
Defines the results from searching through a *.stylx file.
Each instance represents a row in the associated *.stylx file. You will be able to access that individual row's symbol, name, category, keys, classes, and associated tags.
- Since:
- 100.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the category.Gets theCredential
that is set on the network-enabled resource.getKey()
Gets the key.getName()
Gets the name of this item.Gets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
.Asynchronously returns aSymbol
from the search result.Gets the symbol class.getTags()
Gets the tags.getUri()
Gets the URI of thisRemoteResource
.void
setCredential
(Credential credential) Sets aCredential
to be used by the network-enabled resource in the event of an authentication challenge.void
setRequestConfiguration
(RequestConfiguration requestConfiguration) Sets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
.
-
Method Details
-
getTags
Gets the tags.- Returns:
- a unmodifiable list of tags
- Since:
- 100.0.0
-
getName
Gets the name of this item.- Returns:
- the name
- Since:
- 100.0.0
-
getSymbolClass
Gets the symbol class.- Returns:
- the symbol class
- Since:
- 100.0.0
-
getCategory
Gets the category.- Returns:
- the category
- Since:
- 100.0.0
-
getKey
Gets the key.- Returns:
- the key
- Since:
- 100.0.0
-
getSymbolAsync
Asynchronously returns aSymbol
from the search result.- Returns:
- a ListenableFuture for tracking when the operation is done and getting the result
- Since:
- 100.10.0
-
getCredential
Description copied from interface:RemoteResource
Gets theCredential
that is set on the network-enabled resource.Only applicable if the resource is secured.
- Specified by:
getCredential
in interfaceRemoteResource
- Returns:
- the Credential, or null if there is none
-
setCredential
Description copied from interface:RemoteResource
Sets aCredential
to be used by the network-enabled resource in the event of an authentication challenge. The default credential is null.Only applicable if the resource is secured.
- Specified by:
setCredential
in interfaceRemoteResource
- Parameters:
credential
- the Credential to be used for authentication
-
getRequestConfiguration
Description copied from interface:RemoteResource
Gets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
.- Specified by:
getRequestConfiguration
in interfaceRemoteResource
- Returns:
- the
RequestConfiguration
used to modify network requests
-
setRequestConfiguration
Description copied from interface:RemoteResource
Sets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
. If not set, the globalRequestConfiguration
will be used (seeRequestConfiguration.getGlobalRequestConfiguration()
).- Specified by:
setRequestConfiguration
in interfaceRemoteResource
- Parameters:
requestConfiguration
- the RequestConfiguration used to modify network requests
-
getUri
Description copied from interface:RemoteResource
Gets the URI of thisRemoteResource
. Typically this is the URI used to instantiate the object.- Specified by:
getUri
in interfaceRemoteResource
- Returns:
- the URI of this RemoteResource
-