nabto_device_fcm_notification_get_response_body()

DESCRIPTION

Get the response body of the request to FCM. If an error occured this will contain the description. If the send went OK the body will contain a name which is the ID of the sent message. The returned string is valid for the lifetime of the notification object.

DECLARATION

NABTO_DEVICE_DECL_PREFIX const char* NABTO_DEVICE_API
nabto_device_fcm_notification_get_response_body(NabtoDeviceFcmNotification* notification)

PARAMETERS

notification:
[in] The notification to get response body from

RETURNS

The response body string. NULL if send has not resolved with NABTO_DEVICE_EC_OK