Skip to main content
Version: 5.7.0

ReadSelectedProperties

Read all the global properties of the app identified by the property names provided in parameter.

ServiceOperation
globalAppREAD_SELECTED_PROPERTIES

Method Parameters

ParameterDescription
propertyNamesList of property names identifying the global properties to return.

Usage

http://localhost:3000
string[] propertyNames = { "pName1", "pName2" };

SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.GlobalAppService.ReadSelectedProperties(propertyNames, successCallback, failureCallback);
JSON Response
{
"status":200,
"data":{
"pName1": {
"name": "pName1",
"value": "value1"
},
"pName2": {
"name": "pName2",
"value": "value2"
}
}
}