ArcGIS Pro 2.6 API Reference Guide
Tracks Property
Example 

ArcGIS.Desktop.Mapping Namespace > Animation Class : Tracks Property
Gets and sets the list of tracks in the animation.
Syntax
public List<Track> Tracks {get; set;}
Public Property Tracks As List(Of Track)
Remarks
A track stores the collection of keyframes whose values and transitions define the interpolated values for each frame of the animation. This property will always return 4 tracks and specifically it will contain one CameraTrack, LayerTrack, TimeTrack and RangeTrack. Each track type stores a corresponding keyframe for that type and is used to animate either the camera position, map time, map range, or layer visibility and transparency. The duration of the animation is equal to the time of the last keyframe in all tracks. The animation is removed from the map by deleting all keyframes in all tracks.
Example
Get the Camera Keyframes from the Animation.
public List<CameraKeyframe> GetCameraKeyframes()
{
  var mapView = MapView.Active;
  if (mapView != null)
    return null;

  var animation = mapView.Map.Animation;
  var cameraTrack = animation.Tracks.OfType<CameraTrack>().First(); //There will always be only 1 CameraTrack in the animation.
  return cameraTrack.Keyframes.OfType<CameraKeyframe>().ToList();
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Animation Class
Animation Members