Description
-
Loads private data from the server.
Return Type
-
A String value. Data retrieved from the server.
Syntax
-
object.LoadPrivateData Name
The LoadPrivateData Method syntax has these parts:
| object |
An expression evaluating to an object
of type wodXMPP. |
| Name |
Required. A String value. Name of the variable
that should be retrieved. |
Remarks
-
Use this method to retrieve previously saved data (using
SavePrivateData
method). You must provide same Name that was used when data
was saved. If Blocking
mode was used, retrieved data will be returned as a result.
Otherwise, if async mode was used, you should wait for
PrivateData
event to fire to obtain the Data.
|