ws1-client-sdk/com.airwatch.sdk/SDKManager/readCustomAttributes
readCustomAttributes¶
open fun readCustomAttributes(queries: List<CustomAttributeData>): List<CustomAttributeData>
Reads custom attributes for the given list of queries.
Each CustomAttributeData specifies a group and key to look up. The returned list contains CustomAttributeData objects with the value field populated for each matched query.
Parameters¶
| Name | Description |
|---|---|
| queries | list of attribute queries to read. |
Return¶
Non-null list of CustomAttributeData with values populated, or an empty list if no results are found or if queries is null/empty.
Throws¶
| Exception | Condition |
|---|---|
| com.airwatch.sdk.AirWatchSDKException | if any query is null or has null/empty group or key, if the service returns an error message, if API is not available in Anchor Application, or if binding with Anchor app fails. |