SetPriority method: PTNotification class

Syntax

SetPriority(priority)

Description

Use this method to set the priority for In-app and mail notifications.

Parameters

Parameter Description

priority

Specifies the priority for push and mail notifications as a Number. The priority values are as follows:

  • 0 - Normal. This is the default priority.

  • 1 - High

  • 2 - Low

Returns

None.