Skip to main content

AddLocalNotificationAtFront [MSDK Only]

[MSDK Only] Add a local push that can be displayed in the front end.

Supported Platform

Supports iOS platform.

Function Definition

void AddLocalNotificationAtFront (GUALocalNotification localNotification);

Input Parameters

ParameterTypeDescription
localNotificationGUALocalNotificationSee enumeration structure GUALocalNotification

Callback Processing

The callback processing API is GUAPushBaseResultObserver. The callback data structure is GUABaseResult.

The callback event is PushBaseResultEvents. The callback methodID is GUA_PUSH_ADD_LOCAL_NOTIFICATION.

Code Sample

GUALocalNotification localNotification = new GUALocalNotification();
// TODO: Set localNotification
UnionAdapterAPI.GetPushService().AddLocalNotificationAtFront(GUALocalNotification localNotification);