//Notification to be displayed when vpn is connected
builder.inConnected("Title","Message");
//Notification to be displayed when vpn is not connected
builder.inIdle("Title","Message");
//Notification to be displayed when vpn is connecting
builder.inConnecting("Title","Message");
//Notification to be displayed when vpn is paused(waiting for network connection)
builder.inPause("Title","Message");
//Notification to be displayed if Client Network List feature is used
builder.inCnl("Title","Message");
Notification message and title fallback
By default, sdk displays notification for state CONNECTED and PAUSED.
If inConnected was not called, it tries to use value set with title message
If NotificationConfig.Builder.title was not set, it will use App name as in launcher
If inConnected was not called, it will try to use string resource default_notification_connected_message
If inPause was not called, it will try to use string resource default_notification_paused_message
Notification click intent
To configure action when a user clicks a notification, use clickAction method. You must have Activity responding to the specified action. Action will be used to create an Intent. If clickAction is not specified, sdk will open application launch activity on notification click.
In intent extras sdk will set a boolean value UnifiedSDKNotificationManager.EXTRA_NOTIFICATION as true.
To handle click action, register intent-filter with your activity