ArcGIS Pro 2.7 API Reference Guide
StartStreaming Method (StreamLayer)

ArcGIS.Desktop.Mapping Namespace > StreamLayer Class : StartStreaming Method
Sets the stream layer to a state where it starts listening to broadcasts from a real-time data source.
Syntax
public void StartStreaming()
Public Sub StartStreaming() 
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
When you create a StreamLayer, it starts listening by default.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

StreamLayer Class
StreamLayer Members