How to get TimelineComponent direction?

Yes, you can use

/** Helper function to get to the timeline direction enum */
ENGINE_API static UEnum* GetTimelineDirectionEnum();