DesktopUtils Class |
Namespace: Openfin.Desktop
public static class DesktopUtils
The DesktopUtils type exposes the following members.
Name | Description | |
---|---|---|
getJSONT |
Generic function to retrieve a value identified by "key" from
"jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found. | |
getJSONArray |
Returns a JArray identified by "key" from
"jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve the JArray from.The key to search for.The value to return if no key match is found. | |
getJSONBool |
Returns a bool identified by "key" from "jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found. | |
getJSONDouble |
Returns a double identified by "key" from "jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found. | |
getJSONInt |
Returns an int identified by "key" from "jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found. | |
getJSONLong |
Returns a long identified by "key" from "jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found. | |
getJSONObject |
Returns a JObject identified by "key" from "jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found. | |
getJSONString |
Returns a string identified by "key" from "jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found. | |
getObject |
Returns an Object identified by "key" from "jsonObject".
"defaultValue" is returned if no match is found. The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found. | |
updateJSONValue |
Sets a key/value pair for the passed JObject.
|