Genvid_SubmitNotification()

GenvidStatus Genvid_SubmitNotification(const char *notificationID, const void *notificationData, const int notificationDataSize)

Sends notificationDataSize bytes of notification.

Notifications are dropped if the asynchronous handler isn’t initialized first.

It returns one of the following values:

GenvidStatus_UninitializedSDK: The Genvid library was not initialized before calling it.

GenvidStatus_InvalidState: The asynchronous handler was not initialized.

GenvidStatus_UnknownError: The SDK failed to publish. The error from the messaging bus is in the logs.

GenvidStatus_InvalidParameter: The stream streamID was not found.

GenvidStatus_Disconnected: The messaging system is currently disconnected.

GenvidStatus_Success: The operation completed properly.