nabto_device_fcm_notification_new()

DESCRIPTION

Create a new FCM Notification. The returned object must be freed when no longer used, and can not be reused for multiple notifications.

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceFcmNotification* NABTO_DEVICE_API
nabto_device_fcm_notification_new(NabtoDevice* device)

PARAMETERS

device:
[in] The device

RETURNS

Non-NULL if the notification was created successfully