ArcGIS Pro 2.8 API Reference Guide
RealtimeFeatureClass Class
Members  Example 

ArcGIS.Core.Data.Realtime Namespace : RealtimeFeatureClass Class
Represents a real-time table with a spatial column.
Object Model
RealtimeFeatureClass ClassInsertCursor ClassFeature ClassRowBuffer ClassDifferenceCursor ClassTable ClassRealtimeDatastore ClassRealtimeFeatureClassDefinition ClassEnvelope ClassFeatureDataset ClassJoin ClassRelationshipClass ClassRowCursor ClassRealtimeCursor ClassSelection ClassRowCursor ClassRealtimeCursor Class
Syntax
public sealed class RealtimeFeatureClass : ArcGIS.Core.Data.FeatureClass, System.IDisposable  
Public NotInheritable Class RealtimeFeatureClass 
   Inherits ArcGIS.Core.Data.FeatureClass
   Implements System.IDisposable 
Remarks
Streaming does not start automatically. Call StartStreaming explicitly to start receiving feature stream.
Example
Open a RealtimeDatastore and retrieve a RealtimeFeatureClass from there.
var url = "https://geoeventsample1.esri.com:6443/arcgis/rest/services/AirportTraffics/StreamServer";
     
await QueuedTask.Run(() =>
{
  var realtimeServiceConProp = new RealtimeServiceConnectionProperties(
                                   new Uri(url),
                                   RealtimeDatastoreType.StreamService
                                );
  using (var realtimeDatastore = new RealtimeDatastore(realtimeServiceConProp))
  {
    //A Realtime data store only contains **one** Realtime feature class (or table)
    var name = realtimeDatastore.GetTableNames().First();
    using (var realtimeFeatureClass = realtimeDatastore.OpenTable(name) as RealtimeFeatureClass)
    {
      //feature class, by default, is not streaming (opposite of the stream layer)
      realtimeFeatureClass.StartStreaming();
      //TODO use the feature class
      //...
    }
  }

});
Inheritance Hierarchy

System.Object
   ArcGIS.Core.CoreObjectsBase
      ArcGIS.Core.Data.Dataset
         ArcGIS.Core.Data.Table
            ArcGIS.Core.Data.FeatureClass
               ArcGIS.Core.Data.Realtime.RealtimeFeatureClass

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RealtimeFeatureClass Members
ArcGIS.Core.Data.Realtime Namespace