Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

UNNotification.SetThreadIdentifier

Sets thread identifier.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
UNNotification 7.2 No No No No Yes

MBS( "UNNotification.SetThreadIdentifier"; UNNotificationRef; Identifier )

Parameters

Parameter Description Example value
UNNotificationRef The reference number of the notification. $Notification
Identifier The new thread identifier. "Chat123"

Result

Returns OK or error.

Description

Sets thread identifier.
The unique identifier for the thread or conversation related to this notification request. It will be used to visually group notifications together.

Examples

Test thread identifier:

# Create a new notification
Set Variable [$notification; Value:MBS("UNNotification.New")]
# Set thread identifier for grouping:
Set Variable [$r; Value:MBS("UNNotification.SetThreadIdentifier"; $notification; "Hello")]
# and query back
Set Variable [$value; Value:MBS("UNNotification.ThreadIdentifier"; $notification)]
# and schedule
Set Variable [$r; Value:MBS("UNNotification.Schedule"; $notification; "test")]

See also


UNNotification.SetSubTitle   -   UNNotification.SetTimeIntervalTrigger

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins