IoTHubMessage_GetInputName()

Gets the input name from the IOTHUB_MESSAGE_HANDLE. No new memory is allocated, the caller is not responsible for freeing the memory. The memory is valid until IoTHubMessage_Destroy is called on the message.

Syntax

#include "azure-iot-sdk-c/iothub_client/inc/iothub_message.h"

const char* IoTHubMessage_GetInputName(IOTHUB_MESSAGE_HANDLE  iotHubMessageHandle);

Parameters

  • iotHubMessageHandle Handle to the message.

Return Value

A const char* pointing to the Input Id.