Lightstreamer .Net Adapter 1.11.0
|
Called by Lightstreamer Kernel to check that a User is enabled to change the token of an MPN device. If the check succeeds, this also notifies the Metadata Adapter that future client requests should be issued by specifying the new device token.
Take particular precautions when authorizing device token changes, if possible ensure the user is entitled to the new device token.
Edition Note: Push Notifications is an optional feature, available depending on Edition and License Type. To know what features are enabled by your license, please see the License tab of the Monitoring Dashboard (by default, available at /dashboard).
void NotifyMpnDeviceTokenChange(string user, string sessionID, MpnDeviceInfo device, string newDeviceToken);
void NotifyMpnDeviceTokenChange(string user, string sessionID, MpnDeviceInfo device, string newDeviceToken);
Function NotifyMpnDeviceTokenChange(user As string, sessionID As string, device As MpnDeviceInfo, newDeviceToken As string) As void
Parameters |
Description |
string user |
A User name. |
string sessionID |
A Session ID. |
MpnDeviceInfo device |
Specifies an MPN device. |
string newDeviceToken |
The new token being assigned to the device. |
Exceptions |
Description |
if the User is not allowed to change the specified device token. | |
if something is wrong in the parameters, such as inconsistent information about the device. |