Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
UserNotification.SetUserInfo
Stores Application-specific user info that may be retrieved later.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
UserNotification | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "UserNotification.SetUserInfo"; UserNotificationReference; Key; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
UserNotificationReference | An user notification reference. | $ref |
Key | The key for the new entry. | "RecordID" |
Value | The value for the new entry. | $RecordID |
Result
Returns "OK" on success.
Description
Stores Application-specific user info that may be retrieved later.You can store several text values with different keys.
The userInfo should be of reasonable serialized size (less than 1k) or an exception will be thrown.
This way you can pass details to the activation/deliver scripts.
See also UserNotification.GetUserInfo
See also
- UNNotification.AddUserInfo
- UserNotification.GetResponse
- UserNotification.GetUserInfo
- UserNotification.SetDidActivateNotificationScript
- UserNotification.SetDidDeliverNotificationScript
- UserNotification.SetIdentifier
- UserNotification.SetSubTitle
This function is free to use.
Created 18th August 2014, last changed 18th August 2014
UserNotification.SetTitle - UserNotification.deliverNotification