-2

I am trying to read D2C messages in android application. I have successfully implemented it using signalR services. But now i want to remove signalR services and read messages like device explorer or cli.

Is there a way to use sockets or any APIs to read D2C messages ?

omer salam
  • 27
  • 4

1 Answers1

0

Your IoT Hub exposes an Event Hub endpoint. You can read messages from the built-in Event Hub endpoint with an Event Hub client. Here is an example using Java

Matthijs van der Veer
  • 3,865
  • 2
  • 12
  • 22