StartStreaming Method (StreamLayer)
Sets the stream layer to a state where it starts listening to broadcasts from a real-time data source.
Check the Stream Layer connection state
if (!streamLayer.IsStreamingConnectionOpen)
//Must be on QueuedTask!
streamLayer.StartStreaming();
Start and stop streaming
//Must be on QueuedTask!
//Start...
streamLayer.StartStreaming();
//Stop...
streamLayer.StopStreaming();
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.