C# | Visual Basic | Visual C++ |
public class UserData
Public Class UserData
public ref class UserData
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
ThirdPartyCallController..::..UserData(String) |
Construct the UserData from the string that is passed in. For example, if a UserData object is
constructed as follows:
UserData Ud;
Ud = new UserData("FOO");
Then the data which is actually stored for Ud is 70, 79, 79 and the length of the data is 3.
| |
ThirdPartyCallController..::..UserData(array<Byte>[]()[][], Int32) |
Construct the UserData from the array of bytes that is passed in.
| |
decodeDataToString()()()() |
Decode the user data to a hex string.
For example, if the user data is "FOO", it will be converted to hex and passed in the request/response as "464F4F". Using decodeDataToString(), "464F4F" will be returned which is the hex string returned in the event or response. | |
decodeDataToText()()()() |
Decode the user data to a text string.
For example, if the user data is "FOO", it will be converted to hex and passed in the request/response as "464F4F", Using the hex string returned in the event or response, decodeDataToText() will return "FOO". Supported in: 6.2.0 | |
getUserDataAsByteArray |
Get the UserData as the raw array of bytes
| |
getUserDataAsString |
Retrieve the user data array of bytes as a userString.
For Example, if the user data is "FOO", it will be converted to hex and passed in the request/response as "464F4F". Using the string returned in the event or response, getUserDataAsString will return the decimal value of each character as "525452705270", where decimal 52 = "4" decimal 54 = "6" etc. | |
getUserDataSize |
Get the number of bytes that are in the UserData.
|
Object | |
ThirdPartyCallController..::..UserData |
Assembly: ServiceProvider (Module: ServiceProvider)